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
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!