How do you overload the help of a built-in method?

1 回表示 (過去 30 日間)
Christopher Hummersone
Christopher Hummersone 2015 年 9 月 7 日
I've followed the advice in Matlab's documentation on implementing a custom copy method in some of my classes (overloading the copyElement method). However, it'd be nice to be able to display custom help for the modified method, in order to explain the additional functionality. Of course the matlab.mixin.Copyable.copy method is sealed, so cannot be overwritten. Anyone any ideas?

採用された回答

Guillaume
Guillaume 2015 年 9 月 8 日
I think the only thing you can do is document the new behaviour under the class documentation rather than the method documentation.
  1 件のコメント
Christopher Hummersone
Christopher Hummersone 2015 年 9 月 8 日
I thought as much. Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by