The hardware-in-the-loop (HIL) simulation workflow shows you how to use金宝app®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 usingSimulink Real-Time.
Hardware-In-The-Loop Simulation Workflow
Follow the hardware-in-the-loop (HIL) simulation workflow to deploy a Simscape model to your real-time target machine usingSimulink Coder™andSimulink Real-Time.
Basics of Hardware-In-The-Loop simulation
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 usingSimulink Real-Time.
Generate HDL Code Using the Simscape HDL Workflow Advisor
Learn how to convert Simscape models to HDL Code for FPGA Deployment.
Software and Hardware Configuration
Before you simulate your Simscape model on your target hardware usingSimulink Real-Time, follow the recommendations to configure your development and target computers for code generation and real-time simulation.
Generate, Download, and Execute Code
Deploy a Simscape model to your target hardware usingSimulink CoderandSimulink 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 usingSimulink Real-Time.
Change Parameter Values on Target Hardware
改变一个Simscape一起之间运行时参数ations on target hardware usingSimulink Real-Time.
Troubleshoot Hardware-in-the-Loop Simulation Issues
Solve issues that prevent you from usingSimulink Real-Timeto simulate a Simscape model on a real-time processor.