forked from pujb/meakit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makedoc.m
23 lines (18 loc) · 786 Bytes
/
makedoc.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function [] = makedoc()
%MAKEDOC Make the documentation of util toolbox
% Make the documentation of the UTIL toolbox and other 3rd-party
% toolboxes (excluding FIND toolbox, because it is too complicated)
%
% Pu Jiangbo May-30-2010
% Notice the user to change to the right directory
disp('Please make sure the current directory is the UTIL root');
input('[Enter / Ctrl + C]...');
% Move Other toolboxes outside temporarily
[~,~] = system('move Otherbox\FIND ..\OtherTempFIND');
% Run m2html
m2html('mfiles','.', 'htmldir','Help', 'recursive','on', 'global','on', ...
'template','brooks', ...
'index','menu', 'graph','on','source','on', 'verbose', 'on');
% Move FIND toolbox back
[~,~] = system('move ..\OtherTempFIND Otherbox\FIND');
end