实时模拟的模型准备
预定义和自定义I/O驱动器块,代码生成参数,实时内核
I/O驱动器块的库提供了物理I/O设备和实时模型之间的连接。观察如何模拟金宝app®模型响应现实世界的行为,使用金宝appSimulink Desktop实时™block library to create a real-time application from a Simulink model. Set the model configuration parameters to values consistent with real-time execution. The real-time application runs on your computer with the金宝app实时Simulink桌面核心。看准备实时执行。
功能
Sldrtkernel |
安装并删除金宝app实时桌面核心 |
rtwho |
Display information about development computer status |
sldrtconfigset |
附加并激活默认值金宝app实时桌面configuration set |
块
模型设置
话题
先决条件
- 安装实时内核
安装金宝app实时Simulink桌面开发计算机上的内核。
配置
- 准备实时执行
转换您的Simulink模型以金宝app与物理I/O设备进行交互。
- 步骤1:使用I/O板
- STEP 2:Use I/O Driver Blocks
- STEP 3:使用模拟I/O驱动程序
- STEP 4:Use Vector CAN Drivers
- 步骤5:Use Video Input Driver (Mac OS)
- 步骤6:自定义I/O驱动程序基础知识
- 步骤7:执行时间测量和块分析