主要内容

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

任务管理模块

实时任务执行时间,过载管理

要获取目标计算机和实时应用程序的调试信息,请使用执行参数模块。调试信息包含目标计算机 CPU 过载情况以及实时应用程序的执行时间。

函数

getPersistentVariables将持久变量从目标计算机 Simulink Real-Time 获取到 MATLAB (自 R2022a 起)
setPersistentVariables将 MATLAB 中的持久变量设置到 Simulink Real-Time 目标计算机上 (自 R2022a 起)
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor

App

Simulink Real-Time TET 监视器观察在目标计算机上运行的实时应用程序的任务执行时间

模块

SLRT Overload Options选择 CPU 过载选项
Persistent Variable Read从目标计算机读取持久化变量的值 (自 R2022a 起)
Persistent Variable Write将持久变量的值写入目标计算机 (自 R2022a 起)

精选示例