Is it possible to codegen classes that inherit from abstract superclasses?
이전 댓글 표시
I am trying to codegen matlab classes that inherit from an interface in which I have defined abstract properties that must be inherited. I tried to define the types of these properties, but I get the following error message:
"Size and validator functions not supported for properties defined as abstract in superclasses. Property 'myprop1' is defined as abstract property in superclass 'MySuperClass'."
I tried only validating the properties in the subclass, but the error message persisted. Is it not possible to define property types for classes that inherit abstract properties?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Classes에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!