A high-performance Simulink® model compiles and simulates quickly. Simulink provides techniques that you can use to speed up model simulation.
As a first step to improving simulation performance, use Performance Advisor. Performance Advisor checks for conditions that might be slowing down your simulations. The tool can automatically make changes to your model to address these conditions or you can review and apply suggested changes manually.