5.0

5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 9.07 KB File ID: #21476
image thumbnail

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

by Gavin

 

19 Sep 2008 (Updated 19 Sep 2008)

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

| 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
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
23 Jun 2010 Sebastian Kraus

I like this tool, because it is the only tool for easy publishing Matlab documentation.

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

Contact us at files@mathworks.com