Fixed bug (dynare path has to be defined sooner, otherwise isoctave is unknown in warning_config).

time-shift
Stéphane Adjemian (Scylla) 2013-11-15 17:03:58 +01:00
parent aa5efbcf0c
commit b99db45707
1 changed files with 3 additions and 3 deletions

View File

@ -44,6 +44,9 @@ if strcmpi(fname,'help')
return
end
% detect if MEX files are present; if not, use alternative M-files
dynareroot = dynare_config;
warning_config()
if isoctave
@ -64,9 +67,6 @@ if isoctave
default_save_options('-mat')
end
% detect if MEX files are present; if not, use alternative M-files
dynareroot = dynare_config;
if nargin < 1
error('DYNARE: you must provide the name of the MOD file in argument')
end