Point to mex/octave32 if OCtave 32bit is used on Windows platform.
parent
089156a045
commit
650a3f6da2
|
@ -1,6 +1,6 @@
|
||||||
function mexpath = add_path_to_mex_files(dynareroot, modifypath)
|
function mexpath = add_path_to_mex_files(dynareroot, modifypath)
|
||||||
|
|
||||||
% Copyright (C) 2015-2016 Dynare Team
|
% Copyright (C) 2015-2017 Dynare Team
|
||||||
%
|
%
|
||||||
% This file is part of Dynare.
|
% This file is part of Dynare.
|
||||||
%
|
%
|
||||||
|
@ -22,7 +22,11 @@ if nargin<2
|
||||||
end
|
end
|
||||||
|
|
||||||
if exist('OCTAVE_VERSION')
|
if exist('OCTAVE_VERSION')
|
||||||
|
if ispc() && strcmpi(computer(), 'i686-w64-mingw32')
|
||||||
|
mexpath = {[dynareroot '../mex/octave32/']};
|
||||||
|
else
|
||||||
mexpath = {[dynareroot '../mex/octave/']};
|
mexpath = {[dynareroot '../mex/octave/']};
|
||||||
|
end
|
||||||
if modifypath
|
if modifypath
|
||||||
addpath(mexpath{1});
|
addpath(mexpath{1});
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue