Main Content

Real-Time Deployment

Hardware-in-the-loop simulation workflow, host-to-target hardware interface, run-time parameters

Real-time targets use fixed-step solvers that also have a fixed computational cost. When your model accurately reproduces your reference results with a fixed-step solver, you can use Simulink® Real-Time™ to download and execute a real-time application that you generate from your Simscape™ model or HDL code. You can also check for simulation overruns and change run-time parameters for your plant-based application on a real-time target. HIL processes on a target CPU can run at time steps as small as 25 μS. To reach time steps below 1 μS, you must deploy your model to FPGA.

Apps

Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer

Functions

slrtLogViewerOpen the Simulink Real-Time System Log Viewer tab in the Simulink Real-Time Explorer to view the console log from the target computer
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor

Topics

Simulink Real-Time Deployment

  • Software and Hardware Configuration
    Before you simulate your Simscape model on your target hardware using Simulink Real-Time, follow the recommendations to configure your development and target computers for code generation and real-time simulation.
  • Simulink Real-Time Code Generation
    Follow the recommendations for minimum hardware and software specifications to deploy your Simscape model for hardware-in-the-loop (HIL) simulation using Simulink Real-Time.
  • Change Parameter Values on Target Hardware
    Change a Simscape run-time parameter between simulations on target hardware using Simulink Real-Time.
  • Signal and Parameter Visualization and Control
    Monitor and control signals and parameters when you simulate your Simscape model on a real-time target hardware using Simulink Real-Time.

FPGA Deployment