Alternative solution to polymorphism and heterogeneous hierarchies

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!