Main Content

Real-Time Simulation and Testing

Build real-time applications by using Simulink® and perform 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® or macOS. 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.

Topics

Build, Load, and Run Real-Time Applications

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.