from
HTML folder +Index.html: Shows function/global dependancies
by Gavin
Parses m files, determines your codes function/global var dependencies, publishes *.m & index.html t
|
| index.html |
Matlab Code: makeindex20080919
© username 19-Sep-2008
| File (function) | Description | Calls | Called By | Globals Used |
| makeindex |
*Description*: Developed so to enable uses to quickly publish directories of code and details of the cross function and global variable dependancies. Details * Using the freely avalable grep tool this function parses m files in the current directory: * It will determine all the global variables used by the various files so it is easy to check for overlaps of possible conflicts. * It will also show which functions (scripts) are called by others and which which function in this directory are called by your code. * It then makes a html folder and documents subsiquently published code in an index.html file along with links to the published files.
Requirements/Usage * Linux users: have grep. Windows users: download gnu grep for win32 setups, make sure setup directory is added to the windows PATH environment variable. * Place "makeindex.m" with other matlab tools or in directory added to the matlab path so it can be accessed in matlab from anyway * Navigate to your directory * type "makeindex" * You wll now have a html directory with your docuemented code in it and an index.html file which shows brief details of each
*Note:* For best results and a valid desciption setup your comment in your files like this one so you will have a valid description on the index.html page. Also name functions the same as the m file they are in  |   |   |   | Created by makeindex, © Gavin Paul 2008
|
|
Contact us at files@mathworks.com