is there a possibility in Matlab that I can get a List with all my Subclasses which derive/extend from a SuperClass? (in .NET I would do it with reflection)
Let's say I have the following SuperClass:
classdef UltraSuperClass < handle
and now I have the following SubClasses
classdef FirstSubClass < UltraSuperClass
classdef SecondSubClass < UltraSuperClass
Now it would be perfect if there exists something like
a = GetAllSubClassesFrom(UltraSuperClass)
and my result will be
a = [FirstSubClass , SecondSubClass]
anyone knows if this wonderful method exists?
Cheers
Aucun commentaire:
Enregistrer un commentaire