主要内容

实时部署

硬件在环仿真工作流,主机到目标硬件接口,运行时参数

实时目标使用定步长求解器,其计算成本也是固定的。当您的模型能够使用定步长求解器准确重现参考结果时,您可以使用 Simulink® Real-Time™ 下载和执行从 Simscape™ 模型或 HDL 代码生成的实时应用程序。您还可以检查仿真超限,并更改实时目标上基于被控对象的应用程序的运行时参数。目标 CPU 上的 HIL 进程可使用低至 25 μs 的时间步运行。要达到低于 1 μs 的时间步,必须将模型部署到 FPGA。

App

Simulink Real-Time 资源管理器Interact with target computer and real-time application running on target computer

函数

slrtLogViewer在 Simulink Real-Time 资源管理器中打开 Simulink Real-Time 系统日志查看器选项卡,以查看目标计算机的控制台日志。
slrtTETMonitor打开 Simulink Real-Time 任务执行时间 (TET) 监控器

主题

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 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 部署