Commit f239a8f6 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

change default name of canned report

parent 0b4f3e56
......@@ -46,6 +46,10 @@ function make_report_irfs(M, oo, ticks_every)
disp('make_report_irfs: M_.endo_names does not exist');
return
end
if ~isfield(M, 'fname')
disp('make_report_irfs: M_.fname does not exist');
return
end
if nargin < 3
ticks_every = 5;
......@@ -54,7 +58,7 @@ function make_report_irfs(M, oo, ticks_every)
n6 = 1;
justAddedPage = 0;
calcxticks = false;
r = report();
r = report('filename', [M.fname '_canned_irf_report.pdf']);
for i = 1:length(M.exo_names)
newexo = 1;
for j = 1:length(M.endo_names)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment