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

time-shift
Johannes Pfeifer 2020-02-24 16:13:44 +01:00
parent 3879ce08de
commit 97f7b773e5
1 changed files with 1 additions and 1 deletions

View File

@ -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