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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com