Why does Simulink not utilize all of my computer's cores?

5 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2025 年 10 月 9 日 0:00
編集済み: MathWorks Support Team 2025 年 10 月 9 日 19:57
I have an 8-core set up. However, I never see full usage of these cores during model compilation and execution in Simulink. Is there a way to make Simulink use all cores?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 10 月 9 日 0:00
編集済み: MathWorks Support Team 2025 年 10 月 9 日 19:57
Many Simulink processes run single-threaded. There are several instances where Simulink will run multithreaded implicitly, for example:
It is also possible to scale your simulations to be "multi-process" by using the Parallel Computing Toolbox to: 
Keep in mind that not all tasks (from a computing standpoint) can be sped up with multithreading. Overheads, hardware bottlenecks, and data dependencies can actually make some software perform slower multithreaded vs single threaded. If performance is your concern, many Simulink performance problems will see much better performance improvements by profiling and identifying hot spots in the workflow and using various strategies to address them as mentioned in the link below.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by