Simulink Real-Time R2020b and later - setting up non-Speedgoat machines

18 views (last 30 days)
Atakan Botasun
Atakan Botasun on 20 Jul 2021
Commented: Diego Kuratli on 21 Jul 2021
I'm working on a real-time application that involves code generation and communication of the target machine with the development computer and another computer for simulations.
The target machine works quite fine with R2020a and previous releases with slrt, but apparently support has been dropped after R2020b with slrealtime. I've set up FreeDOS on the target machine and configured it to run Simulink Real-Time just fine for slrt, and it ran quite well without issues. For the current release R2021a, Simulink just rejects to connect to the target machine even though I'm able to properly ping it, and haven't changed anything on the target machine. The code generation also runs fine on its own, when I'm not trying to upload its output to the target, for both versions, however UDP management on the target appears to be severely restricted in slrealtime compared to slrt.
After some digging through the documentation and the new interface, I've noticed that there is no visible kernel generation for standalone runs in the newer version. Since the .tlc file has changed as well, it I think the necessary standalone execution resources have changed, and currently there is no visible method to create those.
Is there a way to generate the relevant rttboot, autoexec and kernel files with the new release, or a way to acquire them for a first-time setup? Am I supposed to buy a Speedgoat target and throw the target machine I currently have (which works perfectly fine) away for futureproofing?

Answers (1)

Diego Kuratli
Diego Kuratli on 20 Jul 2021
R2020b introduced a major update for Simulink Real-Time. The RTOS has been replaced. Here you can find more information:
Simulink Real-Time requires Speedgoat hardware to enable latest features and integration with MATLAB/Simulink for rapid control prototyping and hardware-in-the-loop simulation. Third-party hardware is no longer supported, but you may continue to use your target computer with R2020a and previous releases.
Diego Kuratli
Diego Kuratli on 21 Jul 2021
No, we can't provide a kernel file. The RTOS is natively installed on Speedgoat target computers, and we do not support any other hardware vendor.
I would recommend to reach out to Speedgoat to discuss options:

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!