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

3 vues (au cours des 30 derniers jours)
Christos Dimopoulos
Christos Dimopoulos le 7 Fév 2018
Commenté : Walter Roberson le 7 Fév 2018
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.

Réponse acceptée

John D'Errico
John D'Errico le 7 Fév 2018
Modifié(e) : John D'Errico le 7 Fév 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

Plus de réponses (0)

Catégories

En savoir plus sur Multicore Processor Targets dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by