다음: , 이전: , 상위 문서: classdef Classes   [차례][찾아보기]


34.6.4 Inheritance

Classes can inherit from other classes. In this case all properties and methods of the superclass are inherited to the subclass, considering their access rights. Use this syntax to inherit from superclass:

classdef subclass < superclass
  …
endclassdef