MATLAB: How to run simulation in real time

real time

I want to run my simulation in real time so that I can manually change inputs while the simulation is running. Is there a setting to change so that it runs in real time?

Best Answer

To slowdown a simulation to something close to real-time, try my submission here:
As described by Jangjun, this is not accurate real-time, but if what you want is just to observe scopes and change parameters while the simulation runs, this should help.