主要内容

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

实时应用程序仪表

用于显示信号值、设置参数值的图形化仪表

通过向模型添加仪表,与目标计算机上运行的实时应用程序进行交互。使用仪表对象将参数和信号连接到仪表。在 MATLAB® 中运行您的实时应用程序。使用该仪表控制参数并查看信号输出。请参阅Add Instruments to Real-Time Application by Using Simulink Editor

App

Simulink Real-Time生成实时应用程序,用于在目标计算机上运行的仿真,并与目标计算机中的 I/O 设备进行交互。
Simulink Real-Time Explorer与目标计算机及其上运行的实时应用程序进行交互
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 起)
Simulink Real-Time Application Property Inspector查看和修改应用程序属性 (自 R2023b 起)

工具

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

对象

Instrument创建实时仪表对象
slrealtime.instrument.LineStyle创建实时仪表线型对象 (自 R2022b 起)

函数

全部展开

slrtExplorer打开 Simulink Real-Time 资源管理器,并与目标计算机及实时应用程序进行交互
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
slrtAppGenerator生成仪表盘应用程序,用于与目标计算机及其上运行的实时应用程序进行交互。 (自 R2022a 起)
slrtApplicationInspector打开 Simulink Real-Time 应用程序属性检查器,查看应用程序信息、信号和参数。 (自 R2023b 起)
getAllInstruments获取添加到目标对象的仪表信息 (自 R2021b 起)
copyCopy the array of handle objects from one Instrument object to another (自 R2026a 起)
getQuery Instrument object properties (自 R2026a 起)
setAssign Instrument object property values (自 R2026a 起)
addFileLogSignalsFind signals connected to File Log blocks and add these to real-time instrument object (自 R2026a 起)
addForFileLogAdd an instrument to a target object for file logging (自 R2026a 起)
addForMATLABAdd an instrument to a target object for MATLAB data (自 R2026a 起)
addForSDIAdd an instrument to a target object for data in the Simulation Data Inspector (自 R2026a 起)
getAllForFileLogGet a list of instruments in a target object for file logging (自 R2026a 起)
getAllForMATLABGet a list of instruments in a target object for MATLAB data (自 R2026a 起)
getAllForSDIGet a list of instruments in a target object for data in the Simulation Data Inspector (自 R2026a 起)
removeAllForFileLogRemove the instruments from a target object that were for file logging (自 R2026a 起)
removeAllForMATLABRemove the instruments from a target object that were for MATLAB data (自 R2026a 起)
removeAllForSDIRemove the instruments from a target object that were for data in the Simulation Data Inspector (自 R2026a 起)
removeForFileLogRemove an instrument from a target object that was for file logging (自 R2026a 起)
removeForMATLABRemove an instrument from a target object that was for MATLAB data (自 R2026a 起)
removeForSDIRemove an instrument from a target object that was for data in the Simulation Data Inspector (自 R2026a 起)
viewOpen Instrument Viewer app (自 R2026a 起)

主题

精选示例