Added one output argument (return the output of clock).

time-shift
Stéphane Adjemian (Charybdis) 2013-07-04 21:21:45 +02:00
parent 11bda09860
commit 71e8cb569d
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
function report = run_unitary_tests(listoffiles)
function [report, time] = run_unitary_tests(listoffiles)
% Copyright (C) 2013 Dynare Team
%
@ -34,4 +34,8 @@ for f=1:length(listoffiles)
end
end
end
end
if nargout>1
time = clock;
end