主要内容

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

Simulink Real-Time 中的故障排除

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

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

函数

deleteCoreFilesDeletes crash stack core files from target computer (自 R2026a 起)
getSupportInfo创建名为 slrealtimeinfo.txt 的文件,其中包含有关 Simulink Real-Time 安装的信息
getCrashStack下载并解码目标计算机的崩溃堆栈核心文件,并在 MATLAB 编辑器中打开这些文件
slrealtime.getCrashStackDownloads and decodes crash stack core files from target computer and opens these in MATLAB editor
slrealtime.testSetupRun series of confidence tests that check development-to-target computer communications (自 R2026a 起)

主题

建议首选尝试:

系统配置故障排除

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

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

Troubleshoot Cannot Load Shared Object on Target Computer

Investigate issues that prevent updating target computer software.

向量 CANape 操作的故障排除

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

故障排除 ETAS 印加操作

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

Troubleshoot System Upgrade

Investigate issues related to upgrading development computer and target computer software for R2020b compatibility.

模型准备故障排除

排查实时标签页缺失问题

配置模型以在 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.

Troubleshoot Model Upgrade and Obsolete Blocks

Investigate issues related to upgrading a model for R2020b and later release compatibility.

Troubleshoot S-Function Build Upgrade

Investigate issues related to S-Functions and model build changes introduced in R2020b.

故障排除控制与仪表

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

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

Troubleshoot Signals Not Accessible by Name

Investigate issues for some signal types prevent file logging or streaming.

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 过载的问题。

排查流式数据中的缺失值

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

Troubleshoot System Upgrade

Investigate issues related to upgrading development computer and target computer software for R2020b compatibility.

Troubleshoot Model Upgrade and Obsolete Blocks

Investigate issues related to upgrading a model for R2020b and later release compatibility.

Troubleshoot MATLAB API Call Upgrade

Investigate issues related to API changes introduced in R2020b.

Troubleshoot Model Upgrade and Logging Features

Investigate issues related to upgrading a model for R2026a and later release compatibility.

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

查找 Simulink Real-Time 支持

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

安装 Simulink Real-Time 软件更新

安装并配置软件更新。