validatePropertiesImpl(obj) validates interdependent or interrelated property values at the beginning of object initialization, such as checking that the dependent or related inputs are the same size.
validatePropertiesImpl is the first method called by the setup method. validatePropertiesImpl also is called before the processTunablePropertiesImpl method.
Validate that the useIncrement property is true and that the value of the increment property is greater than zero.
methods (Access=protected) function validatePropertiesImpl(obj) if obj.useIncrement && obj.increment < 0 error('The increment value must be positive'); end end end