"Timed-out waiting for application to start" error with Speedgoat & Simulink Real-Time (SLRT)

14 views (last 30 days)
When I start my real-time application to run it on a Speedgoat target, the simulation won't start and I see the following error in MATLAB:
Timed-out waiting for application to start

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Nov 2025 at 0:00
Edited: MathWorks Support Team on 10 Nov 2025 at 11:56
The error message "Timed-out waiting for application to start" is given when the host-target connection takes too long to start the application when using Simulink Real-Time (SLRT). Try the troubleshooting steps below:
1. Check the System Log Viewer and Target Screen:
These may have a better more specific error message when the time-out error happens. You can do this through the SLRT Explorer:
>> slrtLogViewer
or by using the slrealtime.systemlog MATLAB command. If possible, connect a monitor to the target and see if there are any messages being displayed on the status monitor.
2. Use MATLAB commands to run the real-time simulation:
Call the the MATLAB Commmand Window API to connect, load, and start the application (tg.connect, tg.load, tg.start, etc). We'd be interested if this works or if you see any messages on the monitor connected to the target or in the System Log Viewer while doing this from the Command Window.
3. Try upgrading MATLAB & Speedgoat software:
We recommend using the most recent releases for MATLAB and Speedgoat I/O Blockset, if possible, and installing the latest update version for every release. See: Update an Existing Installation.
4. Check your firewall and security software:
The error message could be due to issues with the host-target connection. Sometimes, IT policies change the user networking configuration unexpectedly which could change your setting with the firewall, antivirus or other security software.
5. Try one of the shipping examples:
Does this error message happen for every SLRT model if you try a basic shipping example, or just a specific model? Try some basic MathWorks examples, as well as examples specific to your IO modules from the Speedgoat I/O Blockset.
6. Reduce the model:
If the error seems to be specific to a certain model, try reducing the model. In particular, check if removing blocks related to Speedgoat IO modules, or other external communication such as EtherCAT avoids the error.
7. Disable the logging in your model:
Some users reported that disabling live streaming via stopRecording avoided the issue. In this case, see the following MATLAB Answer for tips on improving live streaming reliability: How can I improve the live streaming performance of Simulation Data Inspector (SDI) when using Simulink Real-Time and Speedgoat?
8. Contact MathWorks Technical Support:
If the above steps don't resolve the issue, contact MathWorks technical support with your findings after performing the troubleshooting steps above.

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!