How can I return from simulink to matlab thread?
Ältere Kommentare anzeigen
Hi ! I am currently doing 'real-time audio processing' using simulink and matlab.
Firsly, I built system block for simulink ('record_test.mdl') like this. ( http://www.flickr.com/photos/52197146@N07/7216105684/in/photostream)
Followings are my MATLAB code(.mfile).
(...)
sim('record_test');
(other codes...)
But the process doesn't return from simulink to MATLAB at all.
Is there anyone who can give me some advice? I really appreciate all of your comments.
2 Kommentare
Kaustubha Govind
am 18 Mai 2012
Do you mean the SIM command hangs your MATLAB script?
Yash
am 9 Jul. 2012
yes this will happen in SIM when working with real time audeio
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!