From d7341ace9ff3bd0202f7f2b196d9a1cd3f8254de Mon Sep 17 00:00:00 2001 From: Wolfgang Ludwig <wolfgang.ludwig@esrf.fr> Date: Thu, 3 Mar 2016 11:33:28 +0100 Subject: [PATCH] replace R2015B with 8.6.0 for compatibility with R2013... Signed-off-by: Wolfgang Ludwig <wolfgang.ludwig@esrf.fr> --- initialise_gt.m | 4 ++-- zUtil_OAR/gtGetFunctionDeps.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/initialise_gt.m b/initialise_gt.m index 78f294e7..952efe56 100644 --- a/initialise_gt.m +++ b/initialise_gt.m @@ -180,7 +180,7 @@ function initialise_gt(ignore_id19) end [~, hostname] = system('hostname'); - if (verLessThan('matlab','R2015b') ... + if (verLessThan('matlab','8.6.0') ... && any(~cellfun(@isempty, regexpi(hostname, {'rnice', 'crunch', 'gpu'})))) % This fixes a few problems with rendering on the ESRF cluster opengl('software'); @@ -251,7 +251,7 @@ function initialise_gt(ignore_id19) setupMatGeom(); disp(' ') - if (verLessThan('MATLAB', 'R2015b')) + if (verLessThan('MATLAB', '8.6.0')) check_compiled_funcs = true; else check = inputwdefault('Do you want to check compiled functions? (might be very slow) [y/n]', 'n'); diff --git a/zUtil_OAR/gtGetFunctionDeps.m b/zUtil_OAR/gtGetFunctionDeps.m index f6dc61ba..a8af24a8 100644 --- a/zUtil_OAR/gtGetFunctionDeps.m +++ b/zUtil_OAR/gtGetFunctionDeps.m @@ -37,7 +37,7 @@ function deps = gtGetFunctionDeps(functionNames, deps, pattern, exclude) end for name = functionNames - if (verLessThan('matlab', 'R2015b')) + if (verLessThan('matlab', '8.6.0')) listing = depfun(name, '-toponly', '-quiet'); %#ok<DEPFUN> % New suggested alternative is damn slow!! (78 seconds in this % recursively filtered setting, otherwise 35 seconds, but still slow -- GitLab