Main Content

Model Configuration Parameters: Model Referencing

The Model Referencing pane of the Configuration Parameters dialog box allows you to specify options for:

  • Including other models in this model.

  • Including the current model in other models.

The option descriptions use the term this model to refer to the model that you are configuring and the term referenced model to designate models referenced by this model.

To open the Configuration Parameters dialog box for the top model in a model hierarchy, in the Simulink® Toolstrip, on the Modeling tab, click Model Settings.

To open the Configuration Parameters dialog box for the current referenced model, on the Modeling tab, click the Model Settings button arrow, then select Model Settings in the Referenced Model section.



Select the method used to determine when to rebuild simulation and code generation targets for referenced models before updating, simulating, or generating code from this model.

Never rebuild diagnostic

Select the diagnostic action that Simulink software should take if it detects a model reference target that needs to be rebuilt.

Enable parallel model reference builds

Specify whether to use automatic parallel building of the model reference hierarchy whenever possible.

MATLAB worker initialization for builds

Specify how to initialize MATLAB® workers for parallel builds.

Enable strict scheduling checks for referenced models

This parameter enables these checks for referenced models:

  • Scheduling order consistency of function-call subsystems in a referenced export function model

  • Sample time consistency across the boundary of a referenced export function model or referenced rate-based model

Total number of instances allowed per top model

Specify how many references to this model can occur in another model.

Propagate sizes of variable-size signals

Select how variable-size signals propagate through referenced models.

Minimize algebraic loop occurrences

Try to eliminate artificial algebraic loops from a model that involve the current referenced model

Propagate all signal labels out of the model

Pass propagated signal names to output signals of Model block.

Pass fixed-size scalar root inputs by value for code generation

Specify whether a model that references this model passes its scalar inputs to this model by value for code generation.

Model dependencies

Add user-created dependencies to the set of known target dependencies by using the Model dependencies parameter.

Perform consistency check on parallel pool

Specify whether to perform a consistency check on the parallel pool before starting a parallel build.

Include custom code for referenced modelsUse custom code with Stateflow® or with MATLAB Function blocks during model reference accelerator simulation.

Use local solver when referencing model

Speed up simulation in model references using local solvers

See Also

Related Topics