Main Content

Resolve Signal Objects for Output Variables

Implicit Signal Resolution

MATLAB Function blocks participate in signal resolution with Simulink® signal objects. By default, output variables from MATLAB Function blocks become associated with Simulink signal objects of the same name during a process called implicit signal resolution.

By default, implicit signal resolution generates a warning when you update the chart in the Simulink model. The following sections show you how to manage implicit signal resolution at various levels of the model hierarchy. See Symbol Resolution and Explicit and Implicit Symbol Resolution for more information.

Eliminating Warnings for Implicit Signal Resolution in the Model

To enable implicit signal resolution for all signals in a model, but eliminate the attendant warnings, follow these steps:

  1. In the Simulink Editor, in the Modeling tab, click Model Settings.

    The Configuration Parameters dialog appears.

  2. In the left pane of the Configuration Parameters dialog, under Diagnostics, select Data Validity.

    Data Validity configuration parameters appear in the right pane.

  3. In the Signal resolution field, select Explicit and implicit.

Disabling Implicit Signal Resolution for a MATLAB Function Block

To disable implicit signal resolution for a MATLAB Function block in your model, follow these steps:

  1. In the Simulink Editor, in the Modeling tab, click Model Settings.

    The Configuration Parameters dialog appears.

  2. In the left pane of the Configuration Parameters dialog, under Diagnostics, select Data Validity.

    Data Validity configuration parameters appear in the right pane.

  3. In the Signal resolution field, select Explicit only or None.

Forcing Explicit Signal Resolution for an Output Signal

To force signal resolution for an output signal in a MATLAB Function block, follow these steps:

  1. In the Simulink model, right-click the signal line connected to the output that you want to resolve and select Properties from the context menu.

  2. In the Signal Properties dialog, enter a name for the signal that corresponds to the signal object.

  3. Select the Signal name must resolve to Simulink signal object check box and click OK.

See Also

Related Topics