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 laptop or desktop running Windows® or Mac OS X. It includes library blocks that connect to certain I/O devices. You can create a real-time system in Simulink with your PC or Mac computer and connect it to physical devices.
Real-time closed-loop simulation of Simulink models
Simulink Desktop Real-Time includes a real-time kernel that runs at the highest priority on your operating system. This real-time kernel loads I/O device drivers and establishes a connection with Simulink. The I/O device drivers execute in real time, in parallel with a Simulink simulation in normal mode.
Improve real-time performance with Simulink Coder
Use Simulink Coder to generate code for your algorithm model and link it with I/O device driver. The model, solver, and I/O device drivers all execute in real time.
Monitoring and capturing signals
Using Simulink Desktop Real-Time with Simulink, you can capture signals from the real-time model and display them with standard Simulink Scope blocks. You can view signals within the model using graphical displays, such as gauges, scopes, and lamps.
Acquiring and logging data
You can store run-time data in the MATLAB workspace using Simulink. In external mode, you can capture one or more data bursts and save the data to a MATLAB file, which can be accessed in MATLAB for additional analysis and visualization.
Library of I/O driver blocks
Simulink Desktop Real-Time includes a library of I/O driver blocks that provide connections between physical I/O devices and real-time models. You can run simulations to observe how Simulink models respond to real-world behavior.
I/O driver communication
Simulink Desktop Real-Time I/O driver blocks enable communication using either ASCII or binary data. Supported communication protocols include UDP for standard network connections, RS-232 for serial lines, and CAN bus for controller area networks.
Thunderbolt™ is supported for connecting to I/O devices when using a Thunderbolt expansion chassis for PCIe/PCI boards or the Thunderbolt-capable HUMUSOFT® MF 644 multifunction I/O device.
Desktop Real-Time Tab in Simulink Editor
Access Simulink Desktop Real-Time workflow capabilities on the Simulink Toolstrip, including one-click model build, connect to external mode, and run in real time
String Signal Support
Receive or send strings to Stream Input and Stream Output blocks
PEAK-System and Kvaser CAN Device Support
Connect PEAK-System or Kvaser CAN devices to Packet Input and Packet Output blocks