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-bf33cf982152time-shift
parent
efee8f38d1
commit
5a3ce36245
|
@ -72,7 +72,7 @@ end
|
||||||
|
|
||||||
if matlab_ver_less_than('7.5')
|
if matlab_ver_less_than('7.5')
|
||||||
OUTPUT_DIR = '../2007a';
|
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';
|
OUTPUT_DIR = '../2007b';
|
||||||
else
|
else
|
||||||
OUTPUT_DIR = '../2009a-64bit';
|
OUTPUT_DIR = '../2009a-64bit';
|
||||||
|
|
|
@ -72,7 +72,7 @@ end
|
||||||
|
|
||||||
if matlab_ver_less_than('7.5')
|
if matlab_ver_less_than('7.5')
|
||||||
OUTPUT_DIR = '../2007a';
|
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';
|
OUTPUT_DIR = '../2007b';
|
||||||
else
|
else
|
||||||
OUTPUT_DIR = '../2009a-64bit';
|
OUTPUT_DIR = '../2009a-64bit';
|
||||||
|
|
Loading…
Reference in New Issue