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

조회 수: 1 (최근 30일)
Christopher Hummersone
Christopher Hummersone 2015년 9월 7일
댓글: Christopher Hummersone 2015년 9월 8일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by