Skip to content
Snippets Groups Projects
Commit 41def7ca authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

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.
parent 4186a431
No related branches found
No related tags found
No related merge requests found
...@@ -515,3 +515,13 @@ set_dynare_seed('default'); ...@@ -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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment