speed up the model on startup
Mostrar comentarios más antiguos
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!
Respuestas (1)
Tejas
el 17 de Jul. de 2025
0 votos
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 .
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!