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
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
......
Supports Markdown
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