Hallo userbase,
for the following situation, is it possible to print the subfunction header to the command window using help?
function foo = myFunc(bar)%MYFUNC
% A pointless function to demonstrate my question.
% @param <bar> input var
% @return <foo> output var
foo = mySubFunc(bar);end % END myFunc
function foo = mySubFunc(bar)%MYFUNC.MYSUBFUNC
% Here is some information about my very important and refactored subfunction.
foo = bar + bar;end % END mySubFunc
If I punch in help myFunc :
>> help myFunc myFunc A pointless function to demonstrate my question. @param <bar> input var @return <foo> output var
But is there some way to access the subfunction header? Something like help myFunc.mySubFunc?
All the best, Marshall
Best Answer