In ordinary class methods I can supply content for the "help" command in MATLAB. However, when writing an abstract method, the help function does not see the abstract methods. For example, if you have a class NeedsHelp:
classdef NeedsHelp
methods (Abstract)
INeedHelp(self)
% This method is not visible to the help command.
end
methods
function IHaveHelp(self)
% This method shows help as expected.
end
end
end
The help command acts as follows (R2009b):
>> help NeedsHelp.IHaveHelp
This method shows help as expected.
>> help NeedsHelp.INeedHelp
NeedsHelp.INeedHelp not found.
Are there any solutions to providing documentation for abstract methods?