主要内容

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

Simulink Real-Time 中的故障排除

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

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

函数

getSupportInfoCreates slrealtimeinfo.txt file that provides support information about Simulink Real-Time installation
getCrashStack下载并解码目标计算机的崩溃堆栈核心文件,并在 MATLAB 编辑器中打开这些文件

主题

建议首选尝试:

系统配置故障排除

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

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

排查 XCP 与目标计算机的连接问题

调查 MATLAB 崩溃后可能出现的 XCP 连接问题。

Troubleshoot Cannot Load Shared Object on Target Computer

Investigate issues that prevent updating target computer software.

Troubleshoot Vector CANape Operation

Investigate issues that can occur when Vector CANape® controls a real-time application.

故障排除 ETAS 印加操作

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

Troubleshoot System Upgrade for R2020b

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.

Troubleshoot Model Links to Static Libraries or Shared Objects

Investigate issues caused by nonstatic link libraries.

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

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

Troubleshoot Long Build Times for Real-Time Application

Investigate issues that cause long model build times for real-time applications.

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 for R2020b

Investigate issues related to upgrading a model for R2020b compatibility.

Troubleshoot S-Function Build Upgrade for R2020b and Later Releases

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

故障排除控制与仪表

Troubleshoot Parameters Not Accessible by Name

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

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 Inport in Referenced Model

Investigate issues that prevent some signals from streaming to the Simulation Data Inspector.

Troubleshoot Signal Data Logging from Inport in Referenced Model in Test Harness

Investigate issues that can occur when signal data logging from signals in referenced models in test harnesses.

Troubleshoot Signal Data Logging from Send and Receive Blocks

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

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

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

Troubleshoot To Workspace Block Set Up

Investigate limitations on To Workspace block in Simulink Real-Time models.

故障排除与性能优化

Troubleshoot Unsatisfactory Real-Time Performance

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

Troubleshoot Overloaded CPU from Executing Real-Time Application

Investigate issues that produce a CPU overload when executing a real-time application.

Troubleshoot Gaps in Streamed Data

Investigate issues that produce a live streaming overload when target computer sends data at high data rate.

Troubleshoot System Upgrade for R2020b

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

Troubleshoot Model Upgrade for R2020b

Investigate issues related to upgrading a model for R2020b compatibility.

Troubleshoot MATLAB API Call Upgrade for R2020b

Investigate issues related to API changes introduced in R2020b.

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

查找 Simulink Real-Time 支持

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

安装 Simulink Real-Time 软件更新

安装并配置软件更新。