The hardware-in-the-loop (HIL) simulation workflow shows you how to use Simulink® Real-Time™ to download and execute a real-time application that you generate from your Simscape™ model. You can also check for simulation overruns and change run-time parameters for your plant-based application on a real-time target using Simulink Real-Time.
Follow the hardware-in-the-loop (HIL) simulation workflow to deploy a Simscape model to your real-time target machine using Simulink Coder™ and Simulink Real-Time.
Use hardware-in-the-loop (HIL) simulation to check how your controller responds, in real time, to realistic virtual stimuli.
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.
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.
Deploy a Simscape model to your target hardware using Simulink Coder and Simulink Real-Time.
Evaluate task execution time and check for CPU overloads using Simulink Real-Time when you run a Simscape model on real-time hardware.
Monitor and control signals and parameters when you simulate your Simscape model on a real-time target hardware using Simulink Real-Time.
Change a Simscape run-time parameter between simulations on target hardware using Simulink Real-Time.
Solve issues that prevent you from using Simulink Real-Time to simulate a Simscape model on a real-time processor.