speed up the model on startup
Ältere Kommentare anzeigen
Hello, help me speed up the simulation in matlab. full model launch takes 70 seconds. and I work with genetic algorithms and I need to run this model over 1000 times. it takes a lot of time. tell me how can I speed up the model at startup?
thanks in advance!
Antworten (1)
Tejas
am 17 Jul. 2025
0 Stimmen
To speed up the startup process of a Simulink model, perform these steps:
- Start MATLAB with the "-timing" flag, inorder to find the section of startup that takes the most amount of time.
- Based on the section taking the most time, take appropriate resolution steps as mentioned in this MATLAB answer: https://www.mathworks.com/matlabcentral/answers/717043-how-can-i-speed-up-my-matlab-startup-time .
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!