Code Interface Configuration and Integration
The code that you generate from a model contains functions and variables that correspond to the systems, signals, and block parameters in the model diagram. To tune parameters and monitor signals and states during code execution, and to ease the integration of the generated code with your own code, you can control the declarations and definitions of functions and variables. You can specify:
Placement in generated or imported files
The generated code contains multiple entry-point functions that allow you to:
Create modular code that contains reusable reentrant functions.
Schedule model execution and data initialization on your target hardware.
- Data Access for Prototyping and Debugging
Configure accessibility of data in the generated code
- Data and Function Configuration
Configure code generation for data and functions to facilitate software integration
- Calibration and Measurement
Set up interfaces for exchanging data
- External Code Integration
Choose and apply integration paths and methods