Added the possibility of a user defined configuration file (only for linux users).

At the end of global_initialization.m the existence of /home/USER/dynare_configuration.m is tested. In case of a positive answer this script is evaluated.
time-shift
Stéphane Adjemian (Charybdis) 2012-05-09 15:39:58 +02:00
parent 4186a431ff
commit 41def7caaa
1 changed files with 10 additions and 0 deletions

View File

@ -515,3 +515,13 @@ set_dynare_seed('default');
% Create directories
[junk,junk]=mkdir(M_.fname);
[junk,junk]=mkdir([M_.fname '/Output']);
% Load user configuration file.
if isunix
origin = pwd;
cd('~/')
if exist('dynare_configuration.m')
dynare_configuration;
end
cd(origin)
end