Identify sources of simulation slowdowns
Use the Simulink® Profiler to examine model and block execution and identify issues that can contribute to poor simulation performance.
Open a model.
On the Debug tab, select Performance Advisor > Simulink Profiler.
On the Profile tab, click Profile.
When simulation is complete, the Profiler Report pane opens and displays the simulation profile for the model.