In simulink simscape multibody I cannot make use of multiple CPU or GPU
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Govind KM
el 9 de Dic. de 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 comentarios
Ver también
Categorías
Más información sobre Simscape Multibody en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!