Borrar filtros
Borrar filtros

Accesing simulink data in Realtime

1 visualización (últimos 30 días)
aravindpma
aravindpma el 20 de Jun. de 2011
Hi ,
Does anybody know how one can access the Simulink data in realtime?
I need to access data coming out of a simulink block and use it as a limit in a completely different model. To Workspace does not serve the purpose as data gets collected there only after the simulation ends.
Any other way?

Respuesta aceptada

Arnaud Miege
Arnaud Miege el 20 de Jun. de 2011
Use Model Reference to include your second model in the first one, and pass the signal of interest as an input to the second model.
HTH,
Arnaud
  5 comentarios
Arnaud Miege
Arnaud Miege el 20 de Jun. de 2011
OK, but it's a piece of MATLAB code, right? If so, you need to create a run-time object for the block. See the doc for more details:
http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/ug/f13-92122.html
aravindpma
aravindpma el 20 de Jun. de 2011
Yes, its matlab code.
Thanks for the link, I feel this will help.
Hope I can learn to use this :).
Thank you,
PM

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by