Method to speed up simulation on working station.

3 visualizaciones (últimos 30 días)
Eric
Eric el 20 de Feb. de 2025
Respondida: Mike Croucher el 20 de Feb. de 2025
I am launching a large simulation on a working station, but the simulation takes quite a long period, basicly the same speed as a laptop. What can I config to get the speed faster in working station.

Respuestas (1)

Mike Croucher
Mike Croucher el 20 de Feb. de 2025
In times gone by it was possible to speed up your simulation simply by running on a bigger or newer machine but those days have largely gone except for a few edge cases. The answer to your question depends hugely on the details of your simulation and when I say 'details' I don't just mean 'Is it MATLAB or Simulink you are using?' I mean 'You would need to share your code to get a meaningful answer'.
There is no simple congifuration change that can be made to speed-up all code on a given machine. If there was, MATLAB would already do it by default.
If you can't share your code, and assuming it is MATLAB you are using, I would suggest starting with the MATLAB profiler to see what is taking so much time. Here's a video on how to use the profiler MATLAB Profiler with Flame Graph

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by