dynare_config adds matlab/missing/bsxfun in the path if needed. bsxfun.m is a replacement for matlab's

built-in bsxfun function (missing in versions older than 7.4).
time-shift
Stéphane Adjemian (Charybdis) 2010-02-19 00:17:54 +01:00
parent 9754bc7afa
commit e1db53caa0
1 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,12 @@ if exist('OCTAVE_VERSION')
addpath([dynareroot '/missing/ordschur'])
end
% bsxfun is missing in old versions of matlab (octave?)
if ~exist('OCTAVE_VERSION') && matlab_ver_less_than('7.4')
addpath([dynareroot '/missing/bsxfun'])
end
% Add path to MEX files
if exist('OCTAVE_VERSION')
addpath([dynareroot '../mex/octave/']);