How can I install a real-time application on my Speedgoat target machine without MATLAB for R2020b onwards?

15 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Dec 2022
Below are the instructions for deploying and installing the shipped model 'slrt_ex_pendulum_100Hz' for R2020b onwards:
1. Create the real-time executable (.MLDATX file) for the model at the MATLAB command line:
>> slbuild('slrt_ex_pendulum_100Hz');
2. Using a file transfer tool such as FileZilla, open a connection with the Speedgoat target.
Log in to the FTP session as user 'slrt' with password 'slrt'.
Transfer the "slrt_ex_pendulum_100Hz.mldatx" file created in Step 1 to the 'tmp' folder on the target.
3. Using an SSH utility such as PuTTY, open a connection with the target computer command line as shown in the link below:
Log in to the SSH session as user 'slrt' with password 'slrt'.
At the target computer command line, execute the following commands to install and load the real-time application:
cd /tmp
slrealtime install --AppName slrt_ex_pendulum_100Hz
slrealtime load --AppName slrt_ex_pendulum_100Hz
See the following link to learn more about the "slrealtime" command:https://www.mathworks.com/help/slrealtime/ref/target-pc-commands.html

More Answers (0)

Categories

Find more on Get Started with Simulink Real-Time in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!