Documentation

Simulink Desktop Real-Time

Run Simulink models in real time on your computer

Simulink® Desktop Real-Time™ provides a real-time kernel for executing Simulink models on a Windows® or Mac laptop or desktop. It includes library blocks that connect to a range of I/O devices. You can create and tune a real-time system for rapid prototyping or hardware-in-the-loop simulation with your computer.

Simulink Desktop Real-Time supports real-time performance up to a 1 kHz sample rate with Simulink, and up to 20 kHz with Simulink Coder™.

Getting Started

Learn the basics of Simulink Desktop Real-Time

Model Preparation for Real-Time Simulation

Predefined and custom I/O driver blocks, code generation parameters, real-time kernel

Real-Time Simulation

Real-time target; normal, accelerator, and external modes; sample rate; real-time scope parameters

Parameter Tuning

Block parameters, MATLAB® variables, Dashboard blocks, MATLAB scripting

Signal Logging

Data logging to workspace or file, external mode scope triggering