verbatim: Get the text of a block comment.

Verbatim returns the text contained in the next block comment.
ダウンロード: 4K
更新 2009/3/22


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.


Douglas Schwarz (2024). verbatim: Get the text of a block comment. (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Updated for R2009a and added automatic removal of indentation.