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.
To make the simulation "really" in real-time, you need to run the simulation in a target (micro-controller) with a real-time operation system (RTOS). Your PC or MAC is unlikely a real-time target. xPc Target can boot your PC as a real-time target but that's a different story.
If you just want to slow down your simulation to close to real-time, you can use Guy Rouleau's S-function.
Best Answer