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:


Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer
Simulink Real-Time TET MonitorMonitor task execution time for the real-time application running on target computer


TargetRepresent real-time application and target computer status
ApplicationRepresent application files on development computer
InstrumentCreate real-time instrument object


getApplicationFileGet name of real-time application file
getInstalledApplicationsGet list of installed real-time application files
getLastApplicationGet name of real-time application most recently run on target computer
getStatusReturn status of root inports stimulation of model on target computer
pausePause stimulation of root inports of model on target computer
reloadDataReload data signal of root inports of model on target computer
slrealtimeInterface for managing target computer
slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
startStart stimulation of root inports of model on target computer
stopStop stimulation of root inports of model on target computer
updateRootLevelInportDataReplace external input data in real-time application with input data


From Development Computer

Execution Modes

Learn about the behavior of the interrupt and polling execution modes.

External Mode Usage

Learn about issues specific to running Simulink Real-Time in Simulink external mode.

Create and Run Real-Time Application from Simulink Model

Adapt a Simulink model to run as a real-time model on a target computer.

Define and Update Inport Data

Map root inports to source data.

CPU Overload

Eliminate CPU overloads during real-time application execution.

From Target Computer

Control Real-Time Application at Target Computer Command Line

Load, start, stop, or check status of real-time applications on the target computer by using the command-line interface.

Target Computer Command Line

Controlling the real-time application from the target computer command line.

Target Computer Command-Line Interface

Control standalone real-time applications with the target computer command-line interface.

Execute Target Computer RTOS Commands at Target Computer Command Line

To enter target computer RTOS commands, type the commands by using a keyboard attached to the target computer or by using an SSH utility (such as PuTTY) to send commands to the target computer from a development computer.


Troubleshooting in Simulink Real-Time

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