(parseTags) MATLAB tag parser

Parsing and printing tags from your MATLAB source code.
513.0 次下载
更新时间 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