Real-Time Simulation and Testing
Create real-time applications from Simulink models with the help of real-time simulation and testing products from MathWorks®. Run your applications by using:
- Simulink Real-Time™ and Speedgoat® target computer hardware connected to your physical system 
- Simulink Desktop Real-Time™ on your physical system with installed I/O hardware 
With Simulink Real-Time, you can extend your Simulink models with blocks that connect to I/O hardware (Simulink Real-Time), automatically build real-time applications, create instrumentation, and perform interactive or automated runs on a Speedgoat target computer. The target computer is equipped with a real-time operating system (RTOS), multicore CPU, I/O and communication protocol interfaces, and FPGAs. For demanding closed-loop sample rates, you can target Speedgoat FPGAs using HDL Coder™. For more information, see Speedgoat Target Computers and I/O Hardware (Simulink Real-Time).
With Simulink Desktop Real-Time, you have a real-time kernel for executing Simulink® models on a laptop or desktop running Windows®, macOS, or Linux®. Simulink Desktop Real-Time includes library blocks that connect to selected I/O devices. For more information, see Hardware Support from Simulink Desktop Real-Time.
Products for Real-Time Simulation and Testing
Topics
Build, Load, and Run Real-Time Applications
- Create and Run Real-Time Application from Simulink Model (Simulink Real-Time)
 Adapt a Simulink model to run as a real-time model on a target computer.
- Test Real-Time Application in Simulink Test (Simulink Real-Time)
 Stress-test a real-time application with Simulink Test™.
- Apply 802.1Q VLAN Tag by Using Ethernet Send and Receive Blocks (Simulink Real-Time)
 Use Ethernet blocks to send and receive Ethernet packets.
- Power Electronics Templates for Simulink Real-Time (Simulink Real-Time)
 Apply template models of power electronics components for HIL testing with Simulink Real-Time.
Build Models and Run Real-Time Simulations
- Create a Real-Time Application (Simulink Desktop Real-Time)
 Configure a Simulink model as a real-time application, generate code, and run the application in real time.
- Real-Time Filter (Simulink Desktop Real-Time)
 Build a real-time filter using DSP System Toolbox™ and Simulink Desktop Real-Time™.
- CAN Input/Output with Vehicle Network Toolbox (Simulink Desktop Real-Time)
 Transfer data through CAN bus by using the CAN Pack and CAN Unpack blocks available in Vehicle Network Toolbox™ block library.