(parseTags) MATLAB tag parser

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 Center および MATLAB AnswersString Parsing についてさらに検索

Community Treasure Hunt

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

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