Run Real-Time Application
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™ Explorer and Simulink external mode. See Create and Run Real-Time Application from Simulink Model.
MATLAB® language. See Control and Instrumentation with MATLAB.
Simulink Real-Time RTOS commands from the target computer command line. See Control Real-Time Application at Target Computer Command Line.
|Simulink Real-Time||Generate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer|
|Simulink Real-Time Explorer||Interact with target computer and real-time application running on target computer|
|Simulink Real-Time TET Monitor||Monitor task execution time for the real-time application running on target computer|
|Simulink Real-Time App Generator||Generate instrument panel app to interact with target computer and real-time application running on target computer|
|Simulation Data Inspector||Inspect and compare data and simulation results to validate and iterate model designs|
|Represent real-time application and target computer status|
|Represent application files on development computer|
|Create real-time instrument object|
|Create real-time instrument LineStyle object|
|Generate instrument panel app to interact with target computer and real-time application running on target computer|
|Open Simulink Real-Time explorer and interact with target computers and real-time applications|
|Open Simulink Real-Time task execution time (TET) monitor|
Manage Real-Time Application
|Get name of real-time application file|
|Get list of installed real-time application files|
|Get name of real-time application most recently run on target computer|
|Returns root level inports in application|
|Start execution of real-time application on target computer|
|Stop execution of real-time application on target computer|
|Removes all Simulink Real-Time applications from target computer|
|Removes Simulink Real-Time application from target computer|
|Replace external input data in real-time application with input data|
|Update the startup parameter set for an application|
|Pause stimulation of root inports of model on target computer|
|Start stimulation of root inports of model on target computer|
|Stop stimulation of root inports of model on target computer|
|Reload data signal of root inports of model on target computer|
Manage Target Computer
|Get MATLAB, support package, and Speedgoat I/O Blockset version information|
|Return status of root inports stimulation of model on target computer|
|Interface for managing target computer|
|Update the auto save parameter set on stop for an application|
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.
- Run Real-Time Simulation of Permanent Magnet Synchronous Motor
Simulate a permanent magnet synchronous motor (PMSM) by using HDL Coder and the Speedgoat I/O Blockset.
- Create Listeners for Target Computer Events
Create listeners to monitor target computer events.
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