Model Preparation for Real-Time Simulation
A library of I/O driver blocks provides connections between physical I/O devices and real-time models. To observe how Simulink® models respond to real-world behavior, use the Simulink Desktop Real-Time™ block library to create a real-time application from a Simulink model. Set the model configuration parameters to values consistent with real-time execution. The real-time application runs on your computer with the Simulink Desktop Real-Time kernel. See Prepare for Real-Time Execution.
|Install and remove Simulink Desktop Real-Time kernel|
|Display information about development computer status|
|Attach and activate default Simulink Desktop Real-Time configuration set|
|Run model in real time by using Simulink Desktop Real-Time kernel (Since R2023b)|
|Create timer in real-time kernel (Since R2023b)|
|Load executable into real-time kernel (Since R2023b)|
|Load driver instance into real-time kernel (Since R2023b)|
|Stops execution of current model simulation run and causes MATLAB to wait until execution stops (Since R2023b)|
|Wait for model execution to complete (Since R2023b)|
|Get simulation run status and get data from scopes and logged signals (Since R2023b)|
|Get real-time kernel property information and access child object for timers, executables, and drivers (Since R2023b)|
|Represent timer in real-time kernel (Since R2023b)|
|Represent executable in real-time kernel (Since R2023b)|
|Represent device driver in real-time kernel (Since R2023b)|
|Represent a binary image of device driver for real-time kernel (Since R2023b)|
|Board setup||Open a board-specific dialog box to set up the data acquisition board for Simulink Desktop Real-Time|
Counter, Encoder, and Frequency I/O
Internet of Things
- Install Real-Time Kernel
Install the Simulink Desktop Real-Time kernel on your development computer.
- Prepare for Real-Time Execution
Transform your Simulink model for interaction with physical I/O devices.