Hi,
Please go through the answer in the link- https://www.mathworks.com/matlabcentral/answers/94052-how-can-i-speed-up-simulation-of-my-simulink-model#answer_103403
Hope it helps.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!