bioelectromagnetism_documentation - script to use m2html for documentation
0001 0002 % bioelectromagnetism_documentation - script to use m2html for documentation 0003 0004 if exist('m2html'), 0005 location = which('eeg_toolbox'); 0006 [path,file,ext] = fileparts(location); 0007 path = strrep(path,'eeg_toolbox',''); 0008 cd(path); 0009 m2html('m','bioelectromagnetism','html','doc_m2html'); 0010 else 0011 error('cannot locate m2html, see http://www.madic.org/download/matlab/m2html/'); 0012 end 0013 0014 clear ext file location path