14 lines
337 B
Matlab
14 lines
337 B
Matlab
function generateDoc
|
|
%generateDoc Publish the example scripts in the doc directory
|
|
|
|
% Steven L. Eddins
|
|
% Copyright 2008-2009 The MathWorks, Inc.
|
|
|
|
doc_dir = fullfile(fileparts(which('runtests')), '..', 'doc');
|
|
addpath(doc_dir);
|
|
cd(doc_dir)
|
|
mfiles = dir('*.m');
|
|
for k = 1:numel(mfiles)
|
|
publish(mfiles(k).name);
|
|
cd(doc_dir)
|
|
end
|