Alternative solution to polymorphism and heterogeneous hierarchies

3 次查看(过去 30 天)
Dear Matlab Support,
I would like to implement something simular to the following picutre:
With the following requirements:
  • The lowest level (cATSConst, cATSMap) should be hold in one list
  • The common attributes of cASAP2Base are filled by the constuctor of cATSBase (could be abstract and does not have any attributes)
Is there a possability to create a list in Matlab 2018 and derive from two classes?
I hope the short description is suffitioned otherwise please let me know.
Best regards
Martin

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by