Skip to content
Snippets Groups Projects
Commit fb8ff758 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

By default display preprocessor output line by line instead of only at the end

Allows judging how long individual steps take for big models
parent 3e5591d4
No related branches found
No related tags found
No related merge requests found
......@@ -254,9 +254,15 @@ else
end
pTic = tic;
[status, result] = system(command);
if preprocessoroutput
status = system(command); %immediately flush output
else
[status, result] = system(command); %save output for output in case of failure
if status ~= 0 || preprocessoroutput
disp(result)
end
end
if status ~= 0 || preprocessoroutput
disp(result)
pToc = toc(pTic);
dprintf('Preprocessing time: %s.', dynsec2hms(pToc))
if nargout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment