extracthelp (Scripts) Publisher's description
from Andrey Popov
extracthelp extracts the help lines of all .M files in the current
extracthelp extracts the help lines of all .M files in the current folder and writes them in files (with corresponding names) in a sub-folder 'phelp'.
The function is very useful in combination with the 'pcode'. Whereas pcode creates a pre-parsed .P files, that can be distributed to users, that shouldn't have access to the original code, the .P files do not preserve the help information of the functions. The 'extracthelp' function does exactly this.
extracthelp % create the .phelp folder and the help files for all files in the current folder
pcode *.m % convert all .M files to .P files
movefile('*.p','.phelp') % moves the .P files to the phelp folder the phelp folder contains the files you can now safely distribute
System Requirements:MATLAB 7.2 (R2006a)
Program Release Status: New Release
Program Install Support: Install and Uninstall