MATLAB Answers

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

조회 수: 1(최근 30일)
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?

  댓글 수: 0

로그인 to comment.

채택된 답변

Guillaume
Guillaume 8 Sep 2015
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
I thought as much. Thanks!

로그인 to comment.

More Answers (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

태그


Translated by