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
parent
4186a431ff
commit
41def7caaa
|
@ -515,3 +515,13 @@ set_dynare_seed('default');
|
||||||
% Create directories
|
% Create directories
|
||||||
[junk,junk]=mkdir(M_.fname);
|
[junk,junk]=mkdir(M_.fname);
|
||||||
[junk,junk]=mkdir([M_.fname '/Output']);
|
[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
|
Loading…
Reference in New Issue