Fixed bug: dynare_config is now able to find a mex file even if dynare_config is called from
<DYNARE_PATH>/matlab directory and if a matlab script with same name than the mex exists in this directory.time-shift
parent
4869fff243
commit
3815daada3
|
@ -37,6 +37,9 @@ if nargin && ~isempty(path_to_dynare)
|
|||
end
|
||||
dynareroot = strrep(which('dynare'),'dynare.m','');
|
||||
|
||||
origin = pwd();
|
||||
cd([dynareroot '/..'])
|
||||
|
||||
if ~nargin || nargin==1
|
||||
verbose = 1;
|
||||
end
|
||||
|
@ -258,3 +261,5 @@ if verbose
|
|||
disp([ message 'Quasi Monte-Carlo sequence (Sobol).' ])
|
||||
disp(' ')
|
||||
end
|
||||
|
||||
cd(origin);
|
Loading…
Reference in New Issue