Advisor.getExclusion
Description
Advisor.getExclusion('
displays the
exclusion data of the model.modelname
')
Advisor.getExclusion('
displays the exclusion data of an entity in the model. This can be a block, a Subsystem or a
Stateflow® entity.modelname
','Name,Value
')
Note
If the checks
property in the displayed result is .*, then the model object is excluded from
all checks.
Input Arguments
modelname
— Model name
string | character vector
Model name to display all the exclusions.
Example: Advisor.getExclusion('vdp');
Name-Value Arguments
Example: Advisor.getExclusion('vdp', 'BlockType', 'Integrator');
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can only specify a single
Name-Value pair argument.
Block
— Name of the block
string | character vector
This is an optional argument of type Filter. You can limit your exclusion results to a particular block in the model using this argument.
Example: Advisor.getExclusion('vdp', 'Block', 'vdp:2');
BlockType
— Type of the block
string | character vector
This is an optional argument of type Filter. You can limit your exclusion results to a particular block type in the model using this argument.
Example: Advisor.getExclusion('vdp', 'BlockType', 'Integrator');
Subsystem
— Name or SID of Subsystem
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a subsystem in the model using this argument.
Example: Advisor.getExclusion('vdp', 'Subsystem', 'vdp:6');
Library
— Name or SID of Library
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Library in the model using this argument.
Example: Advisor.getExclusion('vdp', 'Library', 'mCustomlib:6');
MaskType
— Mask name applied to a Subsystem
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Subsystem with a specific mask type in the model using this argument.
Example: Advisor.getExclusion('vdp', 'MaskType', 'gearSystem');
Stateflow
— Stateflow blocks imported to Simulink®
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to Stateflow blocks and Subsystems in the model using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:4');
Chart
— SID of Stateflow Chart
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Stateflow chart in the model using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
State
— SID of Stateflow State
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Stateflow State in the model using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
Transition
— SID of Stateflow Transition
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Stateflow Transition in the model using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
Junction
— SID of Stateflow Junction
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Stateflow Junction in the model using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
GraphicalFunction
— Graphical function inside Stateflow
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a graphical function in Stateflow using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
MatlabFunction
— MATLAB® function inside Stateflow
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a MATLAB function in Stateflow using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
SimulinkFunction
— Simulink function inside Stateflow
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Simulink function inside Stateflow using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
TruthTable
— Stateflow Truth Table
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Stateflow Truth Table in the model using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
SimulinkBasedState
— Simulink based state in Stateflow
string | character vector
This is an optional argument of type Filter. You can fetch the exclusions applied to a Simulink based state in Stateflow using this argument.
Example: Advisor.getExclusion('sldvdemo_cruise_control', 'Stateflow, 'sldvdemo_cruise_control:8');
Version History
Introduced in R2021a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)