From: Gauri on
How can one make matlab identify the commented help text at the beginning of an m-file?
I am working on a function which would copy the help text from a m-file into another m-file and then publish the other m-file. I cannot figure out how to copy only the commented first block using matlab. Any suggestions?
From: us on
"Gauri " <bhagwat.gau(a)gmail.com> wrote in message <i09ok7$i9t$1(a)fred.mathworks.com>...
> How can one make matlab identify the commented help text at the beginning of an m-file?
> I am working on a function which would copy the help text from a m-file into another m-file and then publish the other m-file. I cannot figure out how to copy only the commented first block using matlab. Any suggestions?

one of the solutions

s=help('unique');
disp(s);

us
From: Matthew Simoneau on
My guess is that you're building something similar to M2HTML. You may want to check that package out first:
http://www.artefact.tk/software/matlab/m2html/
 | 
Pages: 1
Prev: Double to char
Next: close figure in MATLAB