Simulink code seems not to use pc's proccessing power.

5 visualizaciones (últimos 30 días)
I am working on " Spiral Galaxy Formation Simulation " example in Mathworks. I changed some numbers and equations (attached file).
I supposedly bought an expensive laptop so I could increase the number of particles. But I was surprised to see that even with high number of particles the CPU was at less than 20% in use, while none of the other stats was restraining the speed. The screen capture is indicating.

Respuesta aceptada

John D'Errico
John D'Errico el 7 de Feb. de 2018
Editada: John D'Errico el 7 de Feb. de 2018
That seems to indicate you are only using one core.
First, I might check
maxNumCompThreads
Then you might take a read here:
https://www.mathworks.com/help/simulink/ug/solving-embedded-performance-problems-using-multicore-processors-and-fpgas.html

Más respuestas (0)

Categorías

Más información sobre Multicore Processor Targets en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by