diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m index fec6e9bec1324ecb9c42eedb31aa24ae81f47e9e..4a2ce831b9d6f94ee79a9cd34b30fa33595f5706 100644 --- a/matlab/dynare_config.m +++ b/matlab/dynare_config.m @@ -83,6 +83,10 @@ if ~isoctave % Replacements for functions of the stats toolbox addpath([dynareroot '/missing/stats/']) end + if isempty(ver('econ')), + % Replacements for functions of the econ toolbox + addpath([dynareroot '/missing/econ/']) + end end % ordeig() doesn't exist in Octave diff --git a/matlab/missing/stats/autocorr.m b/matlab/missing/econ/autocorr.m similarity index 100% rename from matlab/missing/stats/autocorr.m rename to matlab/missing/econ/autocorr.m