앞으로: , 뒤로: , 위로: 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