|
"Etienne" <etienne.coetzee@airbus.com> wrote in message <i2p6mu$a0e$1@fred.mathworks.com>...
> Hi Folks
>
> I am trying to document some classes I have created, and am strugling with the format of the help text. I would like to add enough comments for each property, but it seems that when the comment stretches over more than one line, it is cut off, so you have to place it in one line. Is there a way to avoid having to do this, or rather, how can use comments on multiple lines.
>
> Regards
>
> Etienne
Certain dialog boxes wrap automatically (questdlg) and others don't (). Example from my code:
questdlg({' The data on file shows that the pure component you'
'have selected was extremely fluorescent during FCI'
'acquisitions. Are you sure you want to proceed with'
'processing this data?'},'High Fluorescence Warning','Yes',...
'No','Info','No');
This has buttons obviously, but you can see how the wrapping is automatic. Another way around this is to type char(10) at the end of each line for dialogs that do not wrap - it is the character signal for a new line, equivelent to hitting 'Enter'.
Maxx
|