Simulink Real-Time - What is terminal command to "Connect Model"?

4 ビュー (過去 30 日間)
samuel kamajaya
samuel kamajaya 2021 年 8 月 4 日
編集済み: Stefanie Schwarz 2023 年 1 月 26 日
tg = slrealtime;
slbuild('model'); --> build application
tg.load('model'); --> deploy to target
tg.start; --> start application
What is the command to "Connect Model"?
  2 件のコメント
Jonas
Jonas 2021 年 8 月 5 日
I am not sure which action you are missing, is there anything you cannot do with the commands mentioned here?
samuel kamajaya
samuel kamajaya 2021 年 8 月 9 日
i cannot find equivalent command to the "connect model" shown in the picture above.
If I click this button. it allows me to modify the model variables in real time. for example, i can modify constant block,etc.
I did try tg.connect, and it doesn't behave like "connect model"

サインインしてコメントする。

回答 (2 件)

Chris Zhang
Chris Zhang 2021 年 8 月 6 日
tg=slrealtime;
tg.connect;
  2 件のコメント
samuel kamajaya
samuel kamajaya 2021 年 8 月 9 日
i need to connect to the model to modify some values on my model in realtime.
tg.connect doesn't solve this issue.
Chris Zhang
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
Stefanie Schwarz 2023 年 1 月 26 日
編集済み: Stefanie Schwarz 2023 年 1 月 26 日

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by