Behavior of property set methods

Dear all,
In the page at http://www.mathworks.co.uk/help/matlab/matlab_oop/property-access-methods.html#brgsek9-3 (subsection "Set Method Behavior") it is stated that a property set method is not invoked when specifying default values for that property in the class definition.
However in the page at http://www.mathworks.co.uk/help/matlab/matlab_oop/a-simple-class-hierarchy.html#f0-62926 (subsection "Set Function for Type Property") it is stated that the property set method for the property "Type" is invoked "whenever an attempt is made to set the Type property, even from within the class constructor function or by assigning an initial value."
Is this a contradiction?
Regards

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 31 de Ag. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by