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)
|
||||
|
||||
% Copyright (C) 2015-2016 Dynare Team
|
||||
% Copyright (C) 2015-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -22,7 +22,11 @@ if nargin<2
|
|||
end
|
||||
|
||||
if exist('OCTAVE_VERSION')
|
||||
mexpath = {[dynareroot '../mex/octave/']};
|
||||
if ispc() && strcmpi(computer(), 'i686-w64-mingw32')
|
||||
mexpath = {[dynareroot '../mex/octave32/']};
|
||||
else
|
||||
mexpath = {[dynareroot '../mex/octave/']};
|
||||
end
|
||||
if modifypath
|
||||
addpath(mexpath{1});
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue