dynare/tests/printMakeCheckMatlabErrMsg.m

10 lines
381 B
Matlab
Raw Normal View History

function printMakeCheckMatlabErrMsg(modfilename, exception)
2017-06-01 19:34:01 +02:00
fprintf('\n********************************************\n');
disp('*** DYNARE-TEST-MATLAB ERROR ENCOUNTERED ***');
disp('********************************************');
disp([' WHILE RUNNING MODFILE: ' modfilename]);
fprintf('\n');
disp(getReport(exception));
fprintf('*************************************\n\n\n');
end