Getting information from a Simulink model to a Matlab GUI, when running in accelerator mode
1 view (last 30 days)
Show older comments
Howdy folks,
I have made a GUI that uses event listeners and callback functions to get information from certain blocks that I want to show in my GUI.
Unfortunately, when I run my Simulink model in accelerator mode, I learned that event listeners no longer work because the block's RTO does no longer exists in accelerator mode.
I also read about one work-around, which is to save off data to a text file, and then set up a timer to read the values from the text file in the GUI.
I am wondering if someone else has a more elegant solution than communicating between Simulink and GUI via text files?
Thanks
BG
2 Comments
Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!