Main Content

Propagate all signal labels out of the model

Option to pass propagated signal names out of referenced model

Model Configuration Pane: Model Referencing

Description

The Propagate all signal labels out of the model configuration parameter determines whether to pass propagated signal names to output signals of a Model block.

By default, each instance of a referenced model propagates signal labels. Clear the configuration parameter for each referenced model that you do not want to propagate signal labels.

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 Total number of instances allowed per top model to One or Multiple.

Settings

on (default) | off
on

The software propagates signal names to output signals of a Model block.

off

The software does not propagate signal names to output signals of a Model block.

Examples

expand all

These models illustrate the behavior when you use the default setting of the Propagate all signal labels out of the model parameter of enabled for the referenced model.

In the referenced model, a signal labeled chirp_sig connects to an Outport block named Out2.

Model with output signal labeled chirp_sig

In the parent model, the output signal from the Out2 port of the Model block displays the propagated signal name chirp_sig.

Model with Model block and output signal labeled <chirp_sig>

These models illustrate the behavior when you enable signal label propagation for every eligible signal and clear the Propagate all signal labels out of the model configuration parameter.

In the referenced model, signal label propagation occurs as in any model.

Model with output signal labeled chirp_sig

In the parent model, the output signal from the Out2 port of the Model block displays empty brackets for the propagated signal label.

Model with Model block and output signal labeled with empty brackets

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation

Programmatic Use

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

Version History

Introduced in R2012a