Main Content

Enable parallel model reference builds

Option to build a model reference hierarchy in parallel whenever possible

Model Configuration Pane: Model Referencing

Description

The Enable parallel model reference builds configuration parameter determines whether to build a model reference hierarchy in parallel whenever possible. Parallel builds require Parallel Computing Toolbox™.

To enable parallel builds for a model reference hierarchy, select Enable parallel model reference builds for the top model of the hierarchy.

Set Configuration Parameter for Referenced Model

In a model reference hierarchy, how you open the Configuration Parameters dialog box determines whether you edit the configuration parameter for the top model in the current model hierarchy or the current referenced model.

  • Top model in the current model hierarchy — In the Simulink® Toolstrip, on the Modeling tab, click Model Settings.

  • Current referenced model — In the Simulink Toolstrip, on the Modeling tab, click the Model Settings button arrow. Then, in the Referenced Model section, select Model Settings.

Alternatively, open the referenced model as a top model. Then, in the Simulink Toolstrip, on the Modeling tab, click Model Settings.

Dependencies

To enable this parameter, set the Never rebuild diagnostic configuration parameter to a value other than None or set the Rebuild configuration parameter to a value other than Never.

Settings

off (default) | on
on

The software builds the model reference hierarchy in parallel whenever possible, based on computing resources and the structure of the model reference hierarchy.

To specify how to initialize MATLAB® workers for parallel builds, see MATLAB worker initialization for builds.

off

The software never builds the model reference hierarchy in parallel.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: EnableParallelModelReferenceBuilds
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2010a