How do you overload the help of a built-in method?
3 次查看(过去 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 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!