MATLAB: Stepping through sorted order of Simulink model

displaysimulinksort order

I have a Simulink model that may be executing blocks in a different order than I expect. So, I would like to check the order that the blocks are executed. The information returned by Format > Block Displays > Sort Order is not intuitive. I would prefer to "step" through the model and highlight each block as it is being executed, pulling up whatever subsystem that the block resides in. I don't need to go through the entire simulation; just a couple of loops through should be enough.
Is it possible to step through blocks in their order of execution?

Best Answer

Yes, you can do that with the Simulink Debugger.