From 85ac76b9ae779d67414fca9adcdfbf5cefba2546 Mon Sep 17 00:00:00 2001 From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Thu, 3 Sep 2009 16:10:41 +0000 Subject: [PATCH] Add isempty to regexp to get a boolean answer for a 32-bit systems git-svn-id: https://www.dynare.org/svn/dynare/trunk@2894 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/dynare_config.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m index e92b63402c..2a4150c5fb 100644 --- a/matlab/dynare_config.m +++ b/matlab/dynare_config.m @@ -76,7 +76,7 @@ if exist('OCTAVE_VERSION') else if matlab_ver_less_than('7.5') path_to_mex_files = [dynareroot '../mex/2007a/'] ; - elseif matlab_ver_less_than('7.8') || ~regexp(computer, '.*64') + elseif matlab_ver_less_than('7.8') || isempty(regexp(computer, '.*64', 'ONCE')) path_to_mex_files = [dynareroot '../mex/2007b/'] ; else path_to_mex_files = [dynareroot '../mex/2009a-64bit/'] ; -- GitLab