Skip to content
Snippets Groups Projects
Commit 6e8cc2e8 authored by sebastien's avatar sebastien
Browse files

forecast_graphs: force creation of subdirectory for storing graphs

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3165 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 5616f1f2
No related branches found
No related tags found
No related merge requests found
function forecast_graphs(var_list)
% Copyright (C) 2008 Dynare Team
% Copyright (C) 2008-2009 Dynare Team
%
% This file is part of Dynare.
%
......@@ -54,6 +54,9 @@ function forecast_graphs(var_list)
% $$$ end
% create subdirectory <fname>/graphs if id doesn't exist
if ~exist(fname, 'dir')
mkdir('.',fname);
end
if ~exist([fname '/graphs'])
mkdir(fname,'graphs');
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment