As @SamRoberts noted, there is a standard standard way of documenting properties and methods.
For instance:
classdef Super %Super Summary of this class goes here % Detailed explanation goes here % % Super Properties: % One - Description of One % Two - Description of Two % % Super Methods: % myMethod - Description of myMethod % properties One % First public property Two % Second public property end properties (Access=private) Three % Do not show this property end methods function obj = Super % Summary of constructor end function myMethod(obj) % Summary of myMethod disp(obj) end end methods (Static) function myStaticMethod % Summary of myStaticMethod end end end
and
classdef Derived < Super %Derived Summary of this class goes here % Detailed explanation goes here % % See also: Super properties Forth % Forth public property end methods function obj = Derived % Summary of constructor end function myOtherMethod(obj) % Summary of myMethod disp(obj) end end end
Now on the command line you can say:

You get beautifully formatted hyperlinks.
Also note what you get with doc Derived (or when you highlight a word and press F1 ). This internally calls help2html to convert the help to HTML. For example, we could do it ourselves:
>> %doc Derived >> web(['text://' help2html('Derived')], '-noaddressbox', '-new')

Note that inherited properties / methods are displayed.
Amro source share