Simulink Control Design™ - MathWorks

(Tuis.) #1
For information on setting this option, see the frest.Sinestream reference page.

In these situations, frequency response estimation performs multiple simulations. If you
have installed the Parallel Computing Toolbox™ software, you can run these multiple
simulations in parallel on multiple MATLAB sessions (pool of MATLAB workers).


For more information about using parallel computing, see “Speeding Up Estimation Using
Parallel Computing” on page 5-83.


Speeding Up Estimation Using Parallel Computing


Configuring MATLAB for Parallel Computing


You can use parallel computing to speed up a frequency response estimation that
performs multiple simulations. You can use parallel computing with the Linear Analysis
Tool and frestimate. When you perform frequency response estimation using parallel
computing, the software uses the available parallel pool. If no parallel pool is available
and Automatically create a parallel pool is selected in your Parallel Computing
Toolbox preferences, then the software starts a parallel pool using the settings in those
preferences.


You can configure the software to automatically detect model dependencies and
temporarily add them to the parallel pool workers. However, to ensure that workers are
able to access the undetected file and path dependencies, create a cluster profile that
specifies the same. The parallel pool used to optimize the model must be associated with
this cluster profile. For information on creating a cluster profile, see “Add and Modify
Cluster Profiles” (Parallel Computing Toolbox).


To manually open a parallel pool that uses a specific cluster profile, use:


parpool(MyProfile)


MyProfile is the name of a cluster profile.


Estimating Frequency Response Using Parallel Computing Using Linear Analysis
Tool


After you configure your parallel computing settings, as described in “Configuring
MATLAB for Parallel Computing” on page 5-83, you can estimate the frequency response
of a Simulink model using the Linear Analysis Tool.


Managing Estimation Speed and Memory
Free download pdf