Main Content

Troubleshooting in Simulink Real-Time

Troubleshoot problems that you encounter while using the Simulink® Real-Time™ product

For questions or issues about your installation of the Simulink Real-Time product, refer to these guidelines and tips. For more specific troubleshooting solutions, go to the MathWorks Help Center website.

Functions

getSupportInfoCreates slrealtimeinfo.txt file that provides information about Simulink Real-Time installation (Since R2020b)
getCrashStackDownloads and decodes core files from target computer and opens these in MATLAB editor (Since R2020b)

Topics

Try This First:

Troubleshooting System Configuration

Troubleshoot Communication Failure Through Firewall (Windows)

Investigate issues that can cause the target computer communications failure through firewalls.

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.

Troubleshoot ETAS Inca Operation

Investigate issues that can occur when ETAS® Inca controls a real-time application.

Troubleshoot System Upgrade for R2020b

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

Troubleshooting Model Preparation

Troubleshoot Missing Real-Time Tab

Configure a model to display the Real-Time tab in the Simulink editor.

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.

Troubleshoot Build Error for Accelerator Mode

Investigate issues that cause a build error for Simulink Real-Time models with accelerator Mode or Rapid Accelerator mode.

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

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

Troubleshooting Control and Instrumentation

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 monitoring, tracing, or logging.

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 Signals for Streaming or File Logging

Investigate issues related to an error that a signal cannot be streamed or logged.

Troubleshooting Performance Optimization

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.

More Troubleshooting: Simulink Real-Time Support

Find Simulink Real-Time Support

Get technical support for Simulink Real-Time issues.

Install Simulink Real-Time Software Updates

Install and configure software updates.