主要内容

本页采用了机器翻译。点击此处可查看英文原文。

实时参数调优

可调模块与全局参数更新、参数扫描、极值检验

在实时应用程序运行期间查询和修改可调模块参数及全局参数。执行参数扫描和极值检验。请参阅可调模块参数与可调全局参数

App

Simulink Real-Time生成实时应用程序,用于在目标计算机上运行的仿真,并与目标计算机中的 I/O 设备进行交互。
Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer
Simulink Real-Time TET Monitor观察在目标计算机上运行的实时应用程序的任务执行时间
Simulink Real-Time App GeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (自 R2022a 起)

工具

仿真数据检查器检查并比较数据与仿真结果,以验证和迭代模型设计

对象

ParameterSet实时应用参数集 (自 R2021a 起)

函数

slrtExplorer打开 Simulink Real-Time 资源管理器,并与目标计算机及实时应用程序进行交互
slrtTETMonitor打开 Simulink Real-Time 任务执行时间 (TET) 监控器
slrtAppGenerator生成仪表盘应用程序,用于与目标计算机及其上运行的实时应用程序进行交互。 (自 R2022a 起)
getparam在实时应用中读取可观测参数的值
setparam在实时应用中更改可调参数的值
getParameters获取实时应用程序参数

主题

疑难解答

Simulink Real-Time 中的故障排除

在使用 Simulink Real-Time 产品时遇到的问题的故障排除

Troubleshoot Parameters Not Accessible by Name

Investigate issues that prevent you from observing or tuning some parameters in the real-time application.

精选示例