Main Content

Parameters and Procedures

Real-time application creation from a Simulink® model

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 levelSelects filtering level for system log messages
Force polling modeEnables polling mode — instead of interrupt-driven mode — for clocking the real-time application
Max file log runsSelects the number of file log runs to retain for the real-time application
Compile with GCC -ffast-mathEnables the GCC compiler -ffast-math option when compiling real-time application code
Stop timeSimulation stop time

Objects

ApplicationRepresent application files on development computer

Functions

addParamSetAdd a parameter set to a real-time application
coder.asap2.exportGenerate ASAP2 (A2L) file according to ASAM MCD-2 MC standards
extractASAP2Extract generated A2L file from real-time application file
getInformationGet real-time application information
getParametersGet real-time application parameters
getRootLevelInportsReturns root level inports in application
getSignalsGet real-time application signals
updateASAP2Pack the ASAP2 file into application
updateAutoSaveParameterSetOnStopUpdate the auto save parameter set on stop for an application
updateRootLevelInportDataReplace external input data in real-time application with input data
updateStartupParameterSetUpdate the startup parameter set for an application

Topics