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 views (last 30 days)
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

Answers (1)

Ayush
Ayush on 5 Jun 2015
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)
anyway you can check out this: Simulink Block for Real Time Execution

Categories

Find more on View and Analyze Simulation Results 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!