If a model is configured for concurrent execution, does it run on multiple cores during simulation in Simulink?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 May 2019
Edited: MathWorks Support Team on 23 May 2019
No. Concurrent execution allows you to model the behavior of running the model on multiple cores and generate code for it. It is designed for benefit on an embedded application, but it has no impact on the speed of the simulation.
Therefore, when you run the model in Simulink, it still runs as a single-thread application and does not use multiple cores.
Concurrent Execution does however potentially impact simulation results by introducing buffers/delays/dependencies between different components and rate groups.

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!