farg: a pedestrian M-file parser showing all used functions' syntax
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.
Cite As
us (2022). 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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: fdep: a pedestrian function dependencies finder, ftoc (v1.2), plot_subfun
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.