使用 Simulink Real-Time 进行硬件在环仿真
硬件在环 (HIL) 仿真工作流向您展示如何使用 Simulink® Real-Time™ 下载和执行从 Simscape™ 模型生成的实时应用程序。您还可以使用 Simulink Real-Time 检查仿真超限,并更改实时目标上基于被控对象的应用程序的运行时参数。
主题
- 硬件在环仿真工作流
按照硬件在环 (HIL) 仿真工作流,使用 Simulink Coder™ 和 Simulink Real-Time 将 Simscape 模型部署到您的实时目标机。
- 硬件在环仿真基础知识
使用硬件在环 (HIL) 仿真来检查您的控制器如何实时响应真实的虚拟刺激。
- 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.
- 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 Coder 和 Simulink Real-Time 将 Simscape 模型部署到目标硬件。
- 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.
- Change Parameter Values on Target Hardware
Change a Simscape run-time parameter between simulations on target hardware using Simulink Real-Time.