File Exchange Pick of the Week

Our best user submissions

Real-Time Pacer for Simulink

Posted by Sean de Wolski,

Sean‘s pick this week is Real-Time Pacer for Simulink by Gautam Vallabha.

Contents

Slow Down!

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.

Speed Up!

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!

Comments

Give it a try and let us know what you think here or leave a comment for Gautam.

Get the MATLAB code

Published with MATLAB® R2017b

Note

Comments are closed.