Thread Subject: multi-threading with simulink

Subject: multi-threading with simulink

From: Omni Domni

Date: 8 Nov, 2009 06:35:03

Message: 1 of 3

I need to run a simulink model simulation several times (each time certain parameters of the model change).
Each simulation run is entirely independent from the other.

Is it possible to split the simulation runs between CPU cores so that the whole thing runs faster?

Thanks in advance for any answers.

Subject: multi-threading with simulink

From: Steven Lord

Date: 8 Nov, 2009 23:09:02

Message: 2 of 3


"Omni Domni" <eloykarakh@hotmail.com> wrote in message
news:hd5oqm$m5q$1@fred.mathworks.com...
>I need to run a simulink model simulation several times (each time certain
>parameters of the model change).
> Each simulation run is entirely independent from the other.
>
> Is it possible to split the simulation runs between CPU cores so that the
> whole thing runs faster?

Yes, using Parallel Computing Toolbox.

http://www.mathworks.com/support/solutions/en/data/1-6GRUQ3/?solution=1-6GRUQ3

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ

Subject: multi-threading with simulink

From: Arnaud Miege

Date: 9 Nov, 2009 09:38:02

Message: 3 of 3


"Steven Lord" <slord@mathworks.com> wrote in message
news:hd7j0j$b4j$1@fred.mathworks.com...
>
> "Omni Domni" <eloykarakh@hotmail.com> wrote in message
> news:hd5oqm$m5q$1@fred.mathworks.com...
>>I need to run a simulink model simulation several times (each time certain
>>parameters of the model change).
>> Each simulation run is entirely independent from the other.
>>
>> Is it possible to split the simulation runs between CPU cores so that the
>> whole thing runs faster?
>
> Yes, using Parallel Computing Toolbox.
>
> http://www.mathworks.com/support/solutions/en/data/1-6GRUQ3/?solution=1-6GRUQ3
>
> --
> Steve Lord
> slord@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ:
> http://matlabwiki.mathworks.com/MATLAB_FAQ
>
>

Have a look at the following video for an example:
http://www.mathworks.com/products/demos/simscape/PhysMod_Demo_Parallel_Computing/

HTH,

Arnaud

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com