verbatim: Get the text of a block comment.

Verbatim returns the text contained in the next block comment.
4K descargas
Actualizado 22 mar 2009

Ver licencia

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.
%}

Citar como

Douglas Schwarz (2024). verbatim: Get the text of a block comment. (https://www.mathworks.com/matlabcentral/fileexchange/23194-verbatim-get-the-text-of-a-block-comment), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Characters and Strings en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Updated for R2009a and added automatic removal of indentation.

1.0.0.0