In simulink simscape multibody I cannot make use of multiple CPU or GPU
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, I have model, created using simscape multibody, and I want run it using multiple CPU cores (I have 24). When I setup model configuration it doesn't work.
This parameters for the model:
It's model itself:
suplementary .stl models:
0 Commenti
Risposte (1)
Govind KM
il 9 Dic 2024
Hi Dmitriy,
I am assuming "When I setup model configuration it doesn't work" to mean that there is no observable speedup when using all the cores for simulation. Due to practical limits on performing operations in parallel, using multiple cores beyong a certain limit often results in slower overall operation due to the added overhead of synchronization and communication for sending data and collecting results. This related MATLAB Answer mentions this in more detail, along with a suggestion to use parsim in the case of independent operations:
Documentation for parsim, along with an example where co-simulation components are run on multiple cores can be found here:
Hope this is helpful!
0 Commenti
Vedere anche
Categorie
Scopri di più su Troubleshooting in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!