diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m index 9aeffe7f1..8d214fa49 100644 --- a/matlab/dynare_config.m +++ b/matlab/dynare_config.m @@ -83,8 +83,8 @@ if ~isoctave p{end+1} = '/missing/vec'; end -% ordeig() doesn't exist in Octave -if isoctave +% ordeig() doesn't exist in Octave < 5 +if isoctave && octave_ver_less_than('5') p{end+1} = '/missing/ordeig'; end @@ -117,8 +117,8 @@ if ~exist('struct2array') p{end+1} = '/missing/struct2array'; end -% isfile is missing in Octave and Matlab= 7.7, don't display a warning if we use deprecated % interface to set seed of random number generators