Real-Time Pacer for Simulink
Sean‘s pick this week is Real-Time Pacer for Simulink by Gautam Vallabha.
Have you ever wanted your Simulink model to run slower? Perhaps so your boss will think you’re busy? Or you want to see
a scope animating or display updating? If so, then the Pacer for Simulink is for you. It slows the model to a set speed
compared to wall time and optionally provides that wall time as an output. Note that it is very similar to the Aerospace Toolbox Simulation Pace Block but does not require the toolbox.
If you run a Simulink model, it will run as quickly as possible which often times means you’ll only see the end result. Here’s
a short video of running a simulation with and without the pacer to demonstrate.
What if you want to speed up your simulation? In that case, you should check out parsim, the latest and greatest in parallel simulation technology!
Give it a try and let us know what you think here or leave a comment for Gautam.
Published with MATLAB® R2017b
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.