Be the first to rate this file! 8 downloads (last 30 days) File Size: 9.07 KB File ID: #21476

HTML folder +Index.html: Shows function/global dependancies

by Gavin

 

19 Sep 2008 (Updated 19 Sep 2008)

No BSD License  

Parses m files, determines your codes function/global var dependencies, publishes *.m & index.html t

Download Now | Watch this File

File Information
Description

Developed 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.

Note: For best results and a valid desciption in index.html, setup your comments like this one (or my matlab RRT project which has a premade html folder) so you will have a valid description on the index.html page. Also name functions the same as the m file they are in.

MATLAB release MATLAB 7.6 (R2008a)
Other requirements You need to have "grep" which is available free for linux/win OS. Linux users should have grep. Windows users: download gnu grep win32 setups, from sourceforge http://gnuwin32.sourceforge.net/packages/grep.htm
Zip File Content  
Published M Files Function makeindex
HTML Files makeindex20080919/html/index.html
Other Files makeindex20080919/makeindex.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
path Gavin 22 Oct 2008 10:20:06
directories Gavin 22 Oct 2008 10:20:06
files Gavin 22 Oct 2008 10:20:06
function dependancies Gavin 22 Oct 2008 10:20:06
publish code Gavin 22 Oct 2008 10:20:06
html folder Gavin 22 Oct 2008 10:20:06
indexhtml Gavin 22 Oct 2008 10:20:06
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com