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

3 vues (au cours des 30 derniers jours)
Christopher Hummersone
Christopher Hummersone le 7 Sep 2015
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?

Réponse acceptée

Guillaume
Guillaume le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by