(parseTags) MATLAB tag parser
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 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!example/
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |