This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Building Referenced Models in Parallel

The Simulink® Real-Time™ software allows you to build referenced models in parallel on a compute cluster. In this way, you can more quickly build and download real-time applications to the target computer.

The following procedure assumes that you have a functioning Simulink Real-Time installation on your development computer.

  1. Identify a set of worker computers, which can be separate cores on your development computer or computers in a remote cluster running under Windows®.

  2. If you intend to use separate cores on the development computer, install Parallel Computing Toolbox™ on the development computer.

  3. If you intend to use computers in a remote cluster:

    1. Install the following on each cluster computer:

      • MATLAB®

      • Parallel Computing Toolbox

      • MATLAB Parallel Server™

      • Simulink Real-Time

      • Build compiler

        Install the same compiler and compiler version at the same location as on the development computer.

    2. Start and configure the remote cluster according to the instructions at www.mathworks.se/support/product/DM/installation/ver_current.

  4. Run MATLAB on the development computer.

  5. In MATLAB, call the parpool function to open a parallel pool on the cluster.

  6. To configure the compiler for the remote workers as a group, call the pctRunOnAll function. For example:

    pctRunOnAll('slrtsetCC(''VisualC'',
         ''C:\Program Files\Microsoft Visual Studio 9.0'')')

    In this configuration, the development computer and the remote workers have installed Microsoft® Visual Studio® 9.0 at C:\Program Files\Microsoft Visual Studio 9.0.

  7. Build and download your model.

See Also

|

Related Topics