In simulink simscape multibody I cannot make use of multiple CPU or GPU

Answers (1)

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!

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 12 Jan 2023

Answered:

on 9 Dec 2024

Community Treasure Hunt

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

Start Hunting!