Build Real-Time Application
To build a real-time application for a target computer, set the model configuration parameters to values consistent with real-time execution. For more information, see Simulink Real-Time. To select configuration parameters for the real-time application, see Simulink Real-Time Options Pane.
You can build a real-time application, connect to the target computer, deploy the real-time application, and run it by clicking Run on Target on the Simulink editor Real-Time tab. For more information, see Build and Download Real-Time Application by Using Run on Target.
You also can build a real-time application without connecting to the
target computer by using the slbuild
function or by
clicking Run on Target > Build Application on the Simulink editor Real-Time tab.
For more information, see Execute Real-Time Application in Simulink External Mode by Using Step-by-Step Commands.
Apps
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 (Since R2020b) |
Simulink Real-Time Explorer | Interact with target computer and real-time application running on target computer (Since R2020b) |
Simulink Real-Time TET Monitor | Observe task execution time for the real-time application running on target computer (Since R2020b) |
Simulink Real-Time App Generator | Generate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a) |
Tools
Simulation Data Inspector | Inspect and compare data and simulation results to validate and iterate model designs |
Objects
Application | Represent application files on development computer (Since R2020b) |
Functions
slrtExplorer | Open Simulink Real-Time explorer and interact with target computers and real-time applications (Since R2020b) |
slrtAppGenerator | Generate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a) |
Topics
- Simulink Real-Time Options Pane
Configure initial values for real-time application options.
- Select Default Target Computer
Representing target computers with Simulink® Real-Time™ Explorer.
- 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 by Using Root Inport Mapper
Map root inports to source data.
- Inport Data Mapping Limitations
Limitations of inport data mapping in Simulink Real-Time.
- Configure and Control Real-Time Application by Using Simulink Real-Time Explorer
Use Simulink Real-Time Explorer to run a real-time application and tune parameters.
- Control and Update Stimulation of Inports to Real-Time Application
Stimulate the root inports of the application running on target computer.
- Reduce Build Time for Simulink Real-Time Referenced Models
Build models in parallel by using Parallel Computing Toolbox™.
Troubleshooting
Troubleshooting in Simulink Real-Time
Troubleshoot problems that you encounter while using the Simulink Real-Time product