inherit from two classes simscape
古いコメントを表示
回答 (2 件)
J Chen
2019 年 10 月 2 日
Try the following:
component MyComponent < MyBaseComponent1
% component implementation here
end
component MyExtendedComponent < MyComponent
% component implementation here
end
Srimouli Rukmabhatla
2020 年 4 月 1 日
0 投票
Hi LEO,
For more information please go through the documentation of Subclassing and Inheritance https://www.mathworks.com/help/physmod/simscape/lang/subclassing-and-inheritance.html
カテゴリ
ヘルプ センター および File Exchange で Foundation and Custom Domains についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!