farg: a pedestrian M-file parser showing all used functions' syntax

Version 1.8.0.0 (20,1 KB) von us
parses an M-file searching for functions and prints their exact, literal syntax
4,6K Downloads
Aktualisiert 20 Jun 2010

Lizenz anzeigen

FARG parses an M-file (function or script) searching for function tags and lists their exact, literal syntax.

in addition, FARG displays a wide variety of file statistics.

currently, these functions are detected and listed
- main function
- subfunctions
- nested functions
- anonymous functions
- eval class calls
- unresolved calls

whitespaces and continuation statements are removed for better readability of the function syntax.

if the lex parser encounters fatal errors, it will stop processing and print a list of the offending syntax.

tested under r2007a, older version 7 systems might work as well.

see:
>> help farg
and the accompanying published M-file for information and a few self-explanatory examples.

Zitieren als

us (2024). farg: a pedestrian M-file parser showing all used functions' syntax (https://www.mathworks.com/matlabcentral/fileexchange/15924-farg-a-pedestrian-m-file-parser-showing-all-used-functions-syntax), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2007a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Argument Definitions finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.8.0.0

all files now are read by very fast low-level i/o subroutines; version tag 21-Jun-2010 02:16:38

1.5.0.0

changes in the lint-engine for r2010+; version tag 26-May-2010 11:15:24

1.4.0.0

parser now accepts meta method class descriptors; version tag 18-Jun-2009 09:41:48

1.1.0.0

added more options and file statistics items; shows unresolved and EVAL class calls; version tag 08-Jun-2009 22:24:04

1.0.0.0

accepts P/MEX/DLL/MDL files as input and looks for associated M-files; version tag 14-Nov-2007 12:59:41