Real-time Simulation

Is it possible to input data in real-time from an instrument(via TCP\IP signals) to my simulink model and get output in real-time?
I don't want to use xPc target in this porcess. Is there a simple way to do it?

2 comentarios

TAB
TAB el 24 de Abr. de 2012
Are you using MATLAB R2012a?
saurabh
saurabh el 24 de Abr. de 2012
no.. its 2010b...

Iniciar sesión para comentar.

 Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 25 de Abr. de 2012

0 votos

See this previously answered question about performing real-time processing with Simulink.

Más respuestas (1)

saurabh
saurabh el 27 de Abr. de 2012

0 votos

Thanks for the links. Seems I cant run my model in real-time without an Real time operating system(RTOS).
Although, I found some blocks which can be used to run the model in real-time, working of which I am trying to figure out. http://www.mathworks.com/matlabcentral/fileexchange/3175-real-time-blockset-7-1-for-simulink . But I still am working on how to import and export data in real-time. As some people suggest I can use the instrument control toolbox for this. Hope it works fine.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by