{"id":52,"date":"2009-03-31T23:30:04","date_gmt":"2009-03-31T23:30:04","guid":{"rendered":"https:\/\/blogs.mathworks.com\/seth\/2009\/04\/01\/parallel-computing-with-simulink-model-reference-builds\/"},"modified":"2017-01-02T16:03:17","modified_gmt":"2017-01-02T21:03:17","slug":"parallel-computing-with-simulink-model-reference-builds","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2009\/03\/31\/parallel-computing-with-simulink-model-reference-builds\/","title":{"rendered":"Parallel Computing with Simulink: Model Reference Builds"},"content":{"rendered":"<p>Have you seen the <a href=\"http:\/\/www.youtube.com\/MATLAB\">MATLAB\r\nChannel on YouTube<\/a>??\u00a0 I like the way you can express an idea using video, describe\r\nhow things work, and then watch it work. \u00a0That is why I asked my friend <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/4987\">Doug<\/a> to\r\nhelp me make a video this week. (Thanks Doug! Check out <a\r\nhref=\"https:\/\/blogs.mathworks.com\/videos\/\">Doug\u2019s MATLAB Video Tutorials<\/a>.)<\/p>\r\n\r\n<p>The topic today is the Simulink R2009a feature for Parallel\r\nModel Reference builds.\u00a0 \u00a0Model reference blocks run in normal (interpreted)\r\nmode or accelerated mode.\u00a0 Simulink has to generate SimTargets for the\r\naccelerated reference models during update diagram.\u00a0 In R2009a you can use the\r\n<a href=\"https:\/\/www.mathworks.com\/products\/parallel-computing\/\">Parallel Computing Toolbox<\/a> to start a pool of local MATLAB workers and\r\ndistribute the generation of the SimTargets across the available cores on your\r\nsystem.\u00a0 Model Reference parallel build also speeds up <a href=\"https:\/\/www.mathworks.com\/products\/rtw\/\">Real-Time Workshop<\/a> code\r\ngeneration.\u00a0 All you need to distribute your build across all the cores on your\r\nmulti-core machine is to start a local pool of MATLAB workers:<\/p>\r\n\r\n<code style=\"font-size: 11pt;\">&gt;&gt; matlabpool<br>\r\n<br>\r\nStarting matlabpool using the 'local' configuration ...\r\nconnected to 4 labs.<\/code>\r\n","protected":false},"excerpt":{"rendered":"<p>Have you seen the MATLAB\r\nChannel on YouTube??\u00a0 I like the way you can express an idea using video, describe\r\nhow things work, and then watch it work. \u00a0That is why I asked my friend Doug to\r\nhelp me... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2009\/03\/31\/parallel-computing-with-simulink-model-reference-builds\/\">read more >><\/a><\/p>","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,66,143,55,16],"tags":[84,85,454,22,441],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/52"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":6190,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/52\/revisions\/6190"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}