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:
Starting matlabpool using the 'local' configuration ... connected to 4 labs.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。