Run Real-Time Application

Interactive execution with development and target computers

When you run the real-time application, you can start and stop execution; create, start, and stop scopes to observe signals; and tune real-time application parameters.

You can use the following interfaces to run the application:

Tools

Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer
Simulink Real-Time Target Computer Explorer (Tech Preview)Interact with target computer and real-time application running on target computer
Simulink Real-Time Target Computer ManagerInteract with target computer

Objects

SimulinkRealTime.targetRepresent real-time application and target computer status
SimulinkRealTime.crashInfoRetrieve information about a target computer CPU exception
SimulinkRealTime.ApplicationRepresent application files on development computer
SimulinkRealTime.InstrumentationCreate a real-time instrumentation object

Properties

Target Settings PropertiesSettings related to target computer

Functions

slrtInterface for managing target computer
slrtexplrConfigure target computer and real-time application for execution
viewTargetScreenOpen real-time window on development computer
SimulinkRealTime.Application.updateRootLevelInportDataReplace external input data in a real-time application with new input data
SimulinkRealTime.utils.TargetComputerManagerConfigure connection to target computer and real-time application for execution

Topics

From Development Computer

Execution Modes

Learn about the behavior of the interrupt, polling, and freerun 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 Options

Eliminate CPU overloads during real-time application execution.

From Target Computer

Control Real-Time Application at Target Computer Command Line

Use the target computer command line to start and stop execution, change parameter values, and view signal values.

Target Computer Command-Line Interface

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

Target Computer Commands

Control standalone real-time applications with target computer commands.

Troubleshooting

Troubleshooting in Simulink Real-Time

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