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!