How can I install a real-time application on my Speedgoat target machine without MATLAB for R2020b onwards?
33 views (last 30 days)
Show older comments
MathWorks Support Team
on 7 Dec 2022
Edited: MathWorks Support Team
on 13 Sep 2024 at 18:07
How can I install a real-time application on my Speedgoat target machine without MATLAB for R2020b onwards?
Accepted Answer
MathWorks Support Team
on 13 Sep 2024 at 0:00
Edited: MathWorks Support Team
on 13 Sep 2024 at 18:07
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-computer-command-line-interface.html
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!