| Simulink® | ![]() |
[retVal] = disableimplicitsignalresolution(model) [retVal] = disableimplicitsignalresolution(model, displayOnly)
Model name or handle.
Boolean specifying whether to change the model or just generate a report. Default: false; the function changes the model.
A MATLAB® structure containing:
Signals: Handles to ports with signal names that resolve to signal objects
States: Handles to blocks with states that resolve to signal objects.
disableimplicitsignalresolution inputs a model, reports all signals and states that implicitly resolve to signal objects, and optionally converts the model to resolve only signals and states that explicitly require it. The report and any changes are limited to the model itself; they do not include blocks that are library links. Before executing this function, ensure that all relevant Simulink® data objects are defined in the base workspace. The function ignores any data objects that are defined elsewhere.
If displayOnly is true, the function scans model, returns a structure of handles to signals and states that resolve implicitly to signal objects, and leaves the model unchanged. If displayOnly is false (the default), the function returns the same list and also performs the following operations on model:
Search the model for all output ports and block states that resolve to Simulink signal objects.
Modify these ports and blocks to enforce signal object resolution in the future.
Set the model's SignalResolutionControl parameter to 'UseLocalSettings' (GUI: Explicit Only.
If any Stateflow® output data resolves to a Simulink signal object:
Turn off hierarchical scoping of signal objects from within the Stateflow chart.
Explicitly label the output signal of the Stateflow chart.
Enforce signal object resolution for this signal in the future.
Note The changes made by disableimplicitsignalresolution permanently change the model. Be sure to back up the model before calling the function with displayOnly defaulted or specified as false. |
Data Validity Diagnostics Overview
![]() | detachConfigSet | docblock | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |