Commit 5e5efc81 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

modify addpath statements for precompiled Mac binaries

parent ee7078e5
......@@ -145,6 +145,27 @@ else
end
end
if strcmp(computer, 'MACI')
if matlab_ver_less_than('7.5')
mexpath = [dynareroot '../mex/matlab/osx32-7.4'];
if exist(mexpath, 'dir')
addpath(mexpath)
end
else
mexpath = [dynareroot '../mex/matlab/osx32-7.5-7.13'];
if exist(mexpath, 'dir')
addpath(mexpath)
end
end
end
if strcmp(computer, 'MACI64')
mexpath = [dynareroot '../mex/matlab/osx64'];
if exist(mexpath, 'dir')
addpath(mexpath)
end
end
% Add generic MATLAB path (with higher priority than the previous ones)
addpath([dynareroot '../mex/matlab/']);
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment