主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

实时部署和代码生成

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

实时部署和代码生成过程向您展示如何使用 Simulink® Real-Time™ 下载和执行从 Simscape™ 模型生成的实时应用程序。您还可以使用 Simulink Real-Time 检查仿真超限,并更改实时目标上基于被控对象的应用程序的运行时参数。

函数

slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
simscape.findNonlinearBlocksCheck model for blocks with nonlinear equations

主题

  • 实时代码生成和部署过程

    按照硬件在环 (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.

  • 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.

  • Requirements for Using Alternative Platforms

    Follow the recommendations for minimum hardware, software, and compiler specifications to deploy your Simscape model for hardware-in-the-loop (HIL) simulation using a custom standalone application.

  • Embedded and Generic Real-Time Resources

    Simulink Coder and Embedded Coder® use system target files (STFs) to generate code for interfacing with specific real-time operating systems.

精选示例