speed up the model on startup
Afficher commentaires plus anciens
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!
Réponses (1)
Tejas
le 17 Juil 2025
0 votes
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 .
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!