Parallel Toolbox and decreasing simulations durations

1 view (last 30 days)
Hey,
I need to run simulink simulations that are rather long (upwards of 600 seconds of time that need to be simulated).
Is there a way of using the Parallel Toolbox to decrease the simulation duration (how long its going to take in real time)
I wouldn't be interested in the parfor since I'm not performing any paramemter sweep. I want to distribute the job so that one jobs runs on multiple cores so that the real time duration decreases from i.e. 8h to 3h.
Thanks Best
Artur

Answers (1)

Walter Roberson
Walter Roberson on 11 Mar 2014
If the problem is to process an input through a sequence of steps each of which relies on the previous, and if you cannot divided the inputs up into chunks for independent processing (possibly with reconciliation afterwards) then you are limited in your speed up by the degree to which each individual step can be made faster. If, for example, one step involves element-by-element multiplication of two sufficiently large matrices, then that step can be partitioned onto multiple CPUs. If the matrices are not "sufficiently large" then you run into the difficulty that the overhead of distributing to multiple CPUs is more than the cost of working on a single CPU.
We would have to know more about the kinds of processing you are doing and about the size of the data being worked on before we could make any predictions about whether going parallel could help you even in theory.

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!