simulink and gui communication in real time
3 views (last 30 days)
Show older comments
i have simulink model and i have gui model
simulink acquire data from sound card then make some processing then pass it to gui model which display it how can i pass these data to gui while simulink is running (time -> inf)
not:data are output of "maximum function"block which contain "index , value" thanks
1 Comment
TAB
on 2 Jul 2012
You have asked a similar question in your previous post also. Please delete this thread and continue the discussion in previous one.
Answers (1)
TAB
on 2 Jul 2012
Edited: TAB
on 2 Jul 2012
Assuming your gui model is nothing but a matlab GUI.
To access the simulink's simulation data at run time (when the simulation is running), you can use event listener.
Type
>> sldemo_msfcn_lms
in your command window to see another demo.
0 Comments
See Also
Categories
Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!