Resolve Signal Objects for Output Data

Implicit Signal Resolution

MATLAB Function blocks participate in signal resolution with Simulink® signal objects. By default, output data 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, select Simulation > Model Configuration Parameters.

    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. Right-click the MATLAB Function block and select Block Parameters (Subsystem) in the context menu.

    The Block Parameters dialog opens.

  2. In the Permit hierarchical resolution field, select ExplicitOnly or None, and click OK.

Forcing Explicit Signal Resolution for an Output Data 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

Was this topic helpful?