From fed2e59836aab5a194d4a10e3cfa4273729667b8 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Mon, 24 Feb 2020 16:13:44 +0100 Subject: [PATCH] stoch_simul.m: Make sure graphs folder exists before creating eps-loader (cherry picked from commit 97f7b773e56838e272208f4cdf029e75f17a5298) --- matlab/stoch_simul.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/stoch_simul.m b/matlab/stoch_simul.m index 4740e70323..c8af0c6f5e 100644 --- a/matlab/stoch_simul.m +++ b/matlab/stoch_simul.m @@ -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 -- GitLab