Added the modification by michel on build_matlab.m (r2565) for mwSignedIndex.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2569 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
stepan 2009-04-08 13:46:47 +00:00
parent 48b4d50f09
commit 02681122f1
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ if matlab_ver_less_than('7.3')
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWTYPES_NOT_DEFINED' ];
end
% Matlab Lapack expects mwSignedIndex arguments only starting with Matlab 7.8
if ~matlab_ver_less_than('7.8')
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DLAPACK_USE_MWSIGNEDINDEX' ];
end
% Large array dims for 64 bits platforms appeared in Matlab 7.3
if (strcmpi('GLNXA64', computer) || strcmpi('PCWIN64', computer)) ...
&& ~matlab_ver_less_than('7.3')