Main Content

Run Real-Time Application

Interactive execution with development and target computers

When you run the real-time application, you can start and stop execution; observe signals and log signal data; and tune real-time application parameters.

You can use the following interfaces to run the application:

Apps

Simulink Real-TimeGenerate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer (Since R2020b)
Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer (Since R2020b)
Simulink Real-Time TET MonitorMonitor task execution time for the real-time application running on target computer (Since R2020b)
Simulink Real-Time App GeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)

Tools

Simulation Data InspectorInspect and compare data and simulation results to validate and iterate model designs

Objects

TargetRepresent real-time application and target computer status (Since R2020b)
ApplicationRepresent application files on development computer (Since R2020b)
InstrumentCreate real-time instrument object (Since R2020b)
slrealtime.instrument.LineStyleCreate real-time instrument LineStyle object (Since R2022b)

Properties

Target Object Propertiesslrealtime Target object properties for configuration and status (Since R2020b)

Functions

expand all

slrtAppGeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)
slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications (Since R2020b)
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor (Since R2020b)
getApplicationFileGet name of real-time application file (Since R2021b)
getInstalledApplicationsGet list of installed real-time application files (Since R2021b)
getLastApplicationGet name of real-time application most recently run on target computer (Since R2021b)
getRootLevelInportsReturns root level inports in application (Since R2022a)
startStart execution of real-time application on target computer (Since R2020b)
stopStop execution of real-time application on target computer (Since R2020b)
removeAllApplicationsRemoves all Simulink Real-Time applications from target computer (Since R2022b)
removeApplicationRemoves Simulink Real-Time application from target computer (Since R2022a)
updateRootLevelInportDataReplace external input data in real-time application with input data (Since R2020b)
updateStartupParameterSetUpdate the startup parameter set for an application (Since R2021a)
pausePause stimulation of root inports of model on target computer (Since R2021a)
startStart stimulation of root inports of model on target computer (Since R2021a)
stopStop stimulation of root inports of model on target computer (Since R2021a)
reloadDataReload data signal of root inports of model on target computer (Since R2021a)
configureModelForTargetPlatformConfigure model to build for selected and connectable target computer (Since R2024a)
getSTFNameGet system target file name for selected and connectable target computer (Since R2024a)
getVersionGet MATLAB, support package, and Speedgoat I/O Blockset version information (Since R2023a)
getStatusReturn status of root inports stimulation of model on target computer (Since R2021a)
slrealtimeInterface for managing target computer (Since R2020b)
updateAutoSaveParameterSetOnStopUpdate the auto save parameter set on stop for an application (Since R2022b)

Topics

From Development Computer

From Target Computer

Troubleshooting

Troubleshooting in Simulink Real-Time

Troubleshoot problems that you encounter while using the Simulink Real-Time product