How can I install a real-time application on my Speedgoat target machine without MATLAB for R2020b onwards?
17 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2022-12-7
编辑: MathWorks Support Team
2025-11-10
How can I install a real-time application on my Speedgoat target machine without MATLAB for R2020b onwards?
采纳的回答
MathWorks Support Team
2025-11-10,0:00
编辑:MathWorks Support Team
2025-11-10,11:57
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/api/target-computer-command-line-interface.html
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!