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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!