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
- 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.
>> help farg
and the accompanying published M-file for information and a few self-explanatory examples.