validatePropertiesImpl
Class: matlab.System
Validate property values of System object
Syntax
validatePropertiesImpl(obj)
Description
validatePropertiesImpl(
validates
interdependent or interrelated property values the first time the System object™ runs.obj
)
Run-Time Details
validatePropertiesImpl
is called by setup
when the
object is run for the first time and when any tunable property changes. For details, see
Detailed Call Sequence.
Method Authoring Tips
You must set
Access = protected
for this method.You cannot modify any properties in this method. Use the
processTunedPropertiesImpl
method orsetupImpl
method to modify properties.To check if a property has changed since
stepImpl
was last called, useisChangedProperty(obj,property)
withinvalidatePropertiesImpl
.
Input Arguments
Examples
Alternative Functionality
If your property does not depend on any other property, you can use MATLAB class property validators at the property definition. For more information, see Validate Property and Input Values.
Version History
Introduced in R2012a