Simulink Real-Time - What is terminal command to "Connect Model"?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Jonas
2021-8-5
I am not sure which action you are missing, is there anything you cannot do with the commands mentioned here?
回答(2 个)
Chris Zhang
2021-8-6
tg=slrealtime;
tg.connect;
2 个评论
Chris Zhang
2021-8-9
Once the application is loaded on target computer by tg.load(gcs), you can use tg.setparam command to modify parameter values.
Stefanie Schwarz
2023-1-26
编辑:Stefanie Schwarz
2023-1-26
>> set_param('model','SimulationCommand','connect')
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!