(parseTags) MATLAB tag parser

버전 1.0.0.0 (8.68 KB) 작성자: Alexander Reinhold
Parsing and printing tags from your MATLAB source code.
다운로드 수: 513
업데이트 날짜: 2010/1/12

라이선스 보기

WHAT ARE TAGS?
% Use tags in your m-file, like:
[..some code..]
%! Info: The code is based on H.Foobar, 1984. "On how to implement the following lines properly"
% However, I adopted section 4 of this paper in the following way:
% [..more information..]
%/
[..some more code..]
[debug line] %! debug
[..some more code..]
%! ToDo: Following code should be vectorized:
[..code to be vectorized later..]
%/

FEATURES?
Files:
* Give the root directory for parsing tags [parseTags(dir)]
* Give a maximum depth for folders
* Setting an other file extension instead of ".m"

Tags:
* Change the tags, which are valid. Default ist the list: {COMMENT, INFO, TODO, DEBUG}.
* Change the tags, which are printed to the console. Probably, you just want the list of debug tags
* change the open ("%!") and close ("%/") characters for tags
* you don't have to close single lined tags

General:
* The output contains a link to the file, where the tag was found, thus you can directly open the file.

INSTALL?
Best place to put the files is probably [MATLAB-INSTALLATION]/toolbox/local. But you might choose any other folder and set up the paths (matlab function: pathtool), that MATLAB will find path tools.

MORE INFORMATION?
Try parseTags('demo') to have some more information. Have a look on the parsed files, to get an impression, how to use tags. Use help with parseTags, getFiles and getTags. For detailed description of the options.

인용 양식

Alexander Reinhold (2024). (parseTags) MATLAB tag parser (https://www.mathworks.com/matlabcentral/fileexchange/26352-parsetags-matlab-tag-parser), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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