Simulink code seems not to use pc's proccessing power.
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Christos Dimopoulos
am 7 Feb. 2018
Kommentiert: Walter Roberson
am 7 Feb. 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.

0 Kommentare
Akzeptierte Antwort
John D'Errico
am 7 Feb. 2018
Bearbeitet: John D'Errico
am 7 Feb. 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
1 Kommentar
Walter Roberson
am 7 Feb. 2018
Simulation does not normally use parallel processing. See https://www.mathworks.com/help/simulink/ug/running-parallel-simulations.html
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multicore Processor Targets finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!