MATLAB Answers

Simulink Real-Time CPU overload in standalone mode

20 views (last 30 days)
Alex Austin
Alex Austin on 12 Apr 2019
Commented: Alex Austin on 4 Sep 2020
Hi,
Using 2017B and a Speedgoat Mobile Real Time Target machine we are seeing CPU overload errors when built and run in standlone mode, but exactly the same model built and run in normal (DOS loader) mode runs fine with no overloads. The model is an automotive controller using CAN and UDP connectivity (no phyiscial I/O).
Anyone got any ideas where to investigate more to understand this problem?
Thanks.
  3 Comments
Alex Austin
Alex Austin on 24 Aug 2020
Sorry no - recently tried same experiment on R2020a version and same result.
I've basically given up on the standalone mode - I just think that not many people use it, and consequently they don't really maintain or develop it as well as they could.

Sign in to comment.

Answers (1)

Ivo Houtzager
Ivo Houtzager on 1 Sep 2020
I had the same issue. For me disabling "USB Support" in the target settings solved it.
Also the disable SMI block from https://de.mathworks.com/matlabcentral/fileexchange/18832-disabling-smis-on-intel-r-ich5-chipsets works well if you have a supported chipset.
  1 Comment
Alex Austin
Alex Austin on 4 Sep 2020
Thanks for the ideas - I'll give them a go and let you know if it works

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!