Have you ever wanted to include a block of text in your m-file without having to worry about quotes ('), end-of-line characters (\n) and other formatting issues? Verbatim will return exactly the text contained in the block comment following the call to verbatim. Example:
str = verbatim;
This is the text
that will be returned by verbatim.
Updated for R2009a and added automatic removal of indentation.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.