Parameters and Procedures
Prepare your design for generating a real-time application by updating your Simulink model. Select a fixed-step solver and select Simulink Real-Time™ as the code generator target. Extend your Simulink model with blocks from the Speedgoat I/O Blockset or the Simulink Real-Time block library. Make signal connections between these driver blocks and other blocks in your model, then build the real-time application.
Model Settings
Log level | Selects filtering level for system log messages |
Force polling mode | Enables polling mode — instead of interrupt-driven mode — for clocking the real-time application |
Max file log runs | Selects the number of file log runs to retain for the real-time application |
Compile with GCC -ffast-math | Enables the GCC compiler -ffast-math option when compiling
real-time application code |
Stop time | Simulation stop time |
Objects
Application | Represent application files on development computer |
Functions
addParamSet | Add a parameter set to a real-time application |
coder.asap2.export | Generate ASAP2 (A2L) file according to ASAM MCD-2 MC standards |
extractASAP2 | Extract generated A2L file from real-time application file |
getInformation | Get real-time application information |
getParameters | Get real-time application parameters |
getRootLevelInports | Returns root level inports in application |
getSignals | Get real-time application signals |
updateASAP2 | Pack the ASAP2 file into application |
updateAutoSaveParameterSetOnStop | Update the auto save parameter set on stop for an application |
updateRootLevelInportData | Replace external input data in real-time application with input data |
updateStartupParameterSet | Update the startup parameter set for an application |
Topics
- I/O Driver Blocks
Learn about the Simulink Real-Time I/O library of driver blocks.
- Add I/O Blocks to Simulink Model
Interface with boards by using Simulink Real-Time library blocks.
- Configure Block Parameters
Configure model blocks.
- Define and Update Inport Data
Map root inports to source data.
- Simulink Real-Time Options Pane
Configure initial values for real-time application options.