i am doing project using SImulink Gui.i want to get back value from Simulink (Scope) to GUI axes.i can get plot graph through work space.but i dnt want like that output after simulation...i need REAL TIME OUTPUT from simulink to scope.help me ???
2 次查看(过去 30 天)
显示 更早的评论
real time output need in gui from simulink.....i dnt have idea abt event listener....if u hav any idea say and prefer idea to avoid event listener and get output
0 个评论
回答(1 个)
Ayush
2015-6-5
not sure, if I fully understand: Real-Time Windows Target is a compiled Simulink model. The model runs in real-time and Simulink (in External mode) is "only" used to control the real-time application. When you change to "Normal mode", Simulink is again in charge and Simulink always executes simulations as fast as possible (usually therefore faster than real-time ;-)). If you want to run Simulink models in Simulink in "soft" real-time, there are methods to slow down the simulation (typically by using an S-function that compares the system time with the simulation time, and waits in between)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!