(parseTags) MATLAB tag parser

Parsing and printing tags from your MATLAB source code.
513 descargas
Actualizado 12 ene 2010

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre String Parsing en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0