主要内容

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

Simulink Real-Time 中的故障排除

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

有关 Simulink Real-Time 产品安装的问题或疑难,请参考以下指南和技巧。如需更具体的故障排除解决方案,请访问 MathWorks 帮助中心网站

函数

deleteCoreFilesDeletes crash stack core files from target computer (自 R2026a 起)
getSupportInfo创建名为 slrealtimeinfo.txt 的文件,其中包含有关 Simulink Real-Time 安装的信息
getCrashStackDownloads and decodes crash stack core files from target computer and opens these in MATLAB editor
slrealtime.testSetup运行一系列置信度测试,以验证开发环境与目标计算机之间的通信情况 (自 R2026a 起)

主题

建议首选尝试:

系统配置故障排除

通过防火墙排查通信故障 (Windows)

调查可能导致目标计算机通过防火墙通信失败的问题。

故障排除:无法在目标计算机上加载共享对象

排查导致无法更新目标计算机软件的问题。

向量 CANape 操作的故障排除

调查当 Vector CANape® 控制实时应用程序时可能出现的问题。

故障排除 ETAS 印加操作

调查当 ETAS® Inca 控制实时应用程序时可能出现的问题。

系统升级故障排除

调查与升级开发计算机和目标计算机软件以兼容 R2020b 相关的问题。

模型准备故障排除

排查实时标签页缺失问题

配置模型以在 Simulink 编辑器中显示实时选项卡。

Troubleshoot Folder Names with Spaces or Special Characters Halt Model Builds

Investigate issues with Windows® long file names, such as spaces or special characters in the file path, that generates model build errors on Windows computers.

排查模型与静态库或共享对象的链接问题

调查由非静态库引起的问题。

解决加速器模式的构建错误

调查导致采用加速器模式或快速加速器模式的 Simulink Real-Time 模型构建失败的问题。

实时应用程序构建时间过长的故障排除

调查导致实时应用程序建模时间过长的问题。

Troubleshoot Working with Persistent Variables

Investigate issues that occur when persistent variable functions cannot read or write file on target computer.

Troubleshoot S-Function Parameters Not Visible in Simulink Real-Time Explorer

Investigate issue that prevent s-function parameters from appearing in Simulink Real-Time Explorer.

模型升级和过时模块的故障排除

调查与将模型升级至 R2020b 及后续版本以实现兼容性相关的问题。

S-Function 编译升级的故障排除

调查与 R2020b 版本中引入的 S-Function 相关问题以及模型构建方面的变更。

故障排除控制与仪表

无法按名称访问参数的故障排除

排查导致您无法在实时应用程序中观察或调整某些参数的问题。

排查无法按名称访问信号的问题

调查导致某些信号类型无法进行文件记录或流式传输的问题。

Troubleshoot Signal Data Logging from Nonvirtual Bus, Fixed-Point, and Multidimensional Signals

Investigate issues that can occur when signal data logging from signals in nonvirtual buses, signals with fixed-point data type, and multidimensional signals.

排查引用模型中从输入端口采集信号数据时出现的问题

调查导致某些信号无法流式传输到“仿真数据检查器”的问题。

排查测试框架中被引用模型的输入端口信号数据记录问题

调查在测试框架中从引用的模型中的信号进行信号数据记录时可能出现的问题。

Troubleshoot Signal Data Logging from Send and Receive Blocks

Investigate issues that can occur when signal data logging from Send and Receive blocks.

排查流式传输或文件日志记录的信号问题

调查与信号无法流式传输或记录相关的错误问题。

To Workspace 模块设置的故障排除

调查 Simulink Real-Time 模型中 To Workspace 模块的限制。

故障排除与性能优化

Troubleshoot Unsatisfactory Real-Time Performance

Investigate issues that can increase the task execution time (TET) of a model.

排查因运行实时应用程序导致的 CPU 负载过高问题

调查在执行实时应用程序时导致 CPU 过载的问题。

排查流式数据中的缺失值

调查当目标计算机以高数据速率发送数据时,导致直播过载的问题。

系统升级故障排除

调查与升级开发计算机和目标计算机软件以兼容 R2020b 相关的问题。

模型升级和过时模块的故障排除

调查与将模型升级至 R2020b 及后续版本以实现兼容性相关的问题。

Troubleshoot MATLAB API Call Upgrade

Investigate issues related to API changes introduced in R2020b.

更多故障排除:Simulink Real-Time 支持

查找 Simulink Real-Time 支持

获取 Simulink Real-Time 问题的技术支持。

安装 Simulink Real-Time 软件更新

安装并配置软件更新。