Simulink code seems not to use pc's proccessing power.
5 ビュー (過去 30 日間)
古いコメントを表示
Christos Dimopoulos
2018 年 2 月 7 日
コメント済み: Walter Roberson
2018 年 2 月 7 日
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 件のコメント
採用された回答
John D'Errico
2018 年 2 月 7 日
編集済み: John D'Errico
2018 年 2 月 7 日
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 件のコメント
Walter Roberson
2018 年 2 月 7 日
Simulation does not normally use parallel processing. See https://www.mathworks.com/help/simulink/ug/running-parallel-simulations.html
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Multicore Processor Targets についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!