Have you seen the MATLAB
Channel on YouTube?? I like the way you can express an idea using video, describe
how things work, and then watch it work. That is why I asked my friend Doug to
help me make a video this week. (Thanks Doug! Check out Doug’s MATLAB Video Tutorials.)
The topic today is the Simulink R2009a feature for Parallel
Model Reference builds. Model reference blocks run in normal (interpreted)
mode or accelerated mode. Simulink has to generate SimTargets for the
accelerated reference models during update diagram. In R2009a you can use the
Parallel Computing Toolbox to start a pool of local MATLAB workers and
distribute the generation of the SimTargets across the available cores on your
system. Model Reference parallel build also speeds up Real-Time Workshop code
generation. All you need to distribute your build across all the cores on your
multi-core machine is to start a local pool of MATLAB workers:
>> matlabpool
Starting matlabpool using the 'local' configuration ...
connected to 4 labs.
Watch the video. Try it out. Leave a comment below and
tell me how it worked.
Updated the video player which was broken on IE.
Files used in this video are available from the File Exchange here
Very nice video. I liked how you brought up the window task manager performance consistently to demonstrate the workings of the PCT toolbox. Hope to see more great videos like this.
Leave a Reply
About
Seth Popinchalk is an Application Engineer for The MathWorks. He writes here about Simulink and other MathWorks tools used in Model-Based Design.
Very nice video. I liked how you brought up the window task manager performance consistently to demonstrate the workings of the PCT toolbox. Hope to see more great videos like this.