Simulink Real-Time - What is terminal command to "Connect Model"?
4 views (last 30 days)
Show older comments
tg = slrealtime;
slbuild('model'); --> build application
tg.load('model'); --> deploy to target
tg.start; --> start application
What is the command to "Connect Model"?
2 Comments
Jonas
on 5 Aug 2021
I am not sure which action you are missing, is there anything you cannot do with the commands mentioned here?
Answers (2)
Chris Zhang
on 6 Aug 2021
tg=slrealtime;
tg.connect;
2 Comments
Chris Zhang
on 9 Aug 2021
Once the application is loaded on target computer by tg.load(gcs), you can use tg.setparam command to modify parameter values.
Stefanie Schwarz
on 26 Jan 2023
Edited: Stefanie Schwarz
on 26 Jan 2023
>> set_param('model','SimulationCommand','connect')
0 Comments
See Also
Categories
Find more on Target Computer Setup 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!