verbatim: Get the text of a block comment.

버전 1.1.0.0 (2.04 KB) 작성자: Douglas Schwarz
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. (https://www.mathworks.com/matlabcentral/fileexchange/23194-verbatim-get-the-text-of-a-block-comment), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Updated for R2009a and added automatic removal of indentation.

1.0.0.0