Commit 97f7b773 authored by Johannes Pfeifer 's avatar Johannes Pfeifer

stoch_simul.m: Make sure graphs folder exists before creating eps-loader

parent 3879ce08
......@@ -201,7 +201,7 @@ end
if options_.irf
var_listTeX = M_.endo_names_tex(i_var);
if ~options_.nograph
if ~options_.nograph || (TeX && any(strcmp('eps',cellstr(options_.graph_format))))
if ~exist([M_.fname '/graphs'],'dir')
mkdir(M_.fname,'graphs');
end
......
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