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

4 visualizaciones (últimos 30 días)
samuel kamajaya
samuel kamajaya el 4 de Ag. de 2021
Editada: Stefanie Schwarz el 26 de En. de 2023
tg = slrealtime;
slbuild('model'); --> build application
tg.load('model'); --> deploy to target
tg.start; --> start application
What is the command to "Connect Model"?
  2 comentarios
Jonas
Jonas el 5 de Ag. de 2021
I am not sure which action you are missing, is there anything you cannot do with the commands mentioned here?
samuel kamajaya
samuel kamajaya el 9 de Ag. de 2021
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"

Iniciar sesión para comentar.

Respuestas (2)

Chris Zhang
Chris Zhang el 6 de Ag. de 2021
tg=slrealtime;
tg.connect;
  2 comentarios
samuel kamajaya
samuel kamajaya el 9 de Ag. de 2021
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 el 9 de Ag. de 2021
Once the application is loaded on target computer by tg.load(gcs), you can use tg.setparam command to modify parameter values.

Iniciar sesión para comentar.


Stefanie Schwarz
Stefanie Schwarz el 26 de En. de 2023
Editada: Stefanie Schwarz el 26 de En. de 2023

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by