Simulink Real-Time - What is terminal command to "Connect Model"?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
tg = slrealtime;
slbuild('model'); --> build application
tg.load('model'); --> deploy to target
tg.start; --> start application
What is the command to "Connect Model"?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/702877/image.png)
2 Commenti
Jonas
il 5 Ago 2021
I am not sure which action you are missing, is there anything you cannot do with the commands mentioned here?
Risposte (2)
Chris Zhang
il 6 Ago 2021
tg=slrealtime;
tg.connect;
2 Commenti
Chris Zhang
il 9 Ago 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
il 26 Gen 2023
Modificato: Stefanie Schwarz
il 26 Gen 2023
>> set_param('model','SimulationCommand','connect')
0 Commenti
Vedere anche
Categorie
Scopri di più su Target Computer Setup in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!