Contenido principal

Perform consistency check on parallel pool

Option to perform checks on parallel pool before starting parallel build

Model Configuration Pane: Model Referencing

Description

The Perform consistency check on parallel pool configuration parameter determines whether to perform checks on the parallel pool before starting a parallel build.

The software performs these criteria checks:

  • The pool is spmd compatible.

  • The platform is consistent between workers and client.

  • The workers have a Simulink® Coder™ license.

  • The workers have write access to the current working folder.

Set Configuration Parameter for Referenced Models

In a model reference hierarchy, whether you edit the parameter in the top model or the current referenced model depends on how you access the Configuration Parameters dialog box.

  • 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.

Settings

on (default) | off
on

If a check fails, an error is issued and the parallel build stops.

off

If a check fails, a warning is issued and a serial build is performed.

Recommended Settings

ApplicationSetting
DebuggingNo recommendation
TraceabilityNo recommendation
EfficiencyNo recommendation
Safety precautionNo recommendation

Programmatic Use

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

Version History

Introduced in R2021a