Hauptinhalt

Configuration Parameters, Block Parameters, and Inport Data

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.

Tip

System target files (STFs) for Speedgoat® target computers do not have configurable TLC Command-Line Options.

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

expand all

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

Topics

Featured Examples