Main Content
Advisor.authoring.NegativeBlockParameterConstraint Class
Namespace: Advisor.authoring
Superclasses:
Create a Model Advisor constraint to check for unsupported block parameter values
Description
Instances of Advisor.authoring.NegativeBlockParameterConstraint
class define unsupported values for specified block parameters.
Construction
constraint = Advisor.authoring.NegativeBlockParameterConstraint()
creates an instance of this class.
Properties
Examples
Specify Unsupported Block Parameter Values
For a Constant block, these commands specify that one or four values are unsupported for the Value parameter:
c1=Advisor.authoring.NegativeBlockParameterConstraint; c1.ID='ID_1'; c1.BlockType='Constant'; c1.ParameterName='Value'; c1.UnsupportedParameterValues={'1','4'}; c1.ValueOperator='or';
Version History
Introduced in R2018a