To improve the simulation speed of a Stateflow® chart, disable debugging support and simulation options that impact execution speed. Close all scopes and charts and use library charts in your model.
Reduce simulation time for large models.
Reduce the Compilation Time of a Chart
Speed up simulations by recompiling only some parts of the chart.