Advisor.removeExclusion
Syntax
Description
Advisor.removeExclusion(
removes an exclusion from an entity, like a block, subsystem, or Stateflow® element, in the model. The type of exclusion is specified by the
modelName
,filterType
,entityIdentifier
)filterType
argument. The entity is specified by the
entityIdentifier
argument.
To clear all exclusions from a model or exclusion
file, use Advisor.clearExclusion
instead.
Advisor.removeExclusion(
removes an exclusion from using an exclusion object. You can get an exclusion object by
using the function modelName
,'object',exclusionObject
)Advisor.getExclusion
.
To clear all exclusions from a model or exclusion
file, use Advisor.clearExclusion
instead.
Input Arguments
Alternative Functionality
Model Advisor Exclusion Editor
You can also remove an exclusion by using the Model Advisor Exclusion Editor. To open the Model Advisor Exclusion Editor for a model, right-click in the Simulink canvas or right-click an entity and select Model Advisor > Open Model Advisor Exclusion Editor. In the Model Advisor Exclusion Editor dialog box, select the exclusion that you want to remove and click the Delete exclusion row button . For more information, see Exclude Blocks from Model Advisor Check Analysis.