add isempty to regexp to get a boolean answer for a 32 bits system

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2893 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
ferhat 2009-09-03 15:49:07 +00:00
parent efee8f38d1
commit 5a3ce36245
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ end
if matlab_ver_less_than('7.5')
OUTPUT_DIR = '../2007a';
elseif matlab_ver_less_than('7.8') || ~regexp(computer, '.*64')
elseif matlab_ver_less_than('7.8') || isempty(regexp(computer, '.*64','ONCE'))
OUTPUT_DIR = '../2007b';
else
OUTPUT_DIR = '../2009a-64bit';

View File

@ -72,7 +72,7 @@ end
if matlab_ver_less_than('7.5')
OUTPUT_DIR = '../2007a';
elseif matlab_ver_less_than('7.8') || ~regexp(computer, '.*64')
elseif matlab_ver_less_than('7.8') || isempty(regexp(computer, '.*64','ONCE'))
OUTPUT_DIR = '../2007b';
else
OUTPUT_DIR = '../2009a-64bit';