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. MATLAB Coder is required for Simulink Coder installation. Compiler support is included as part of the Simulink Desktop Real-Time installation. No additional or external C or C++ compiler is required.
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.