MatrixBerryCore
isverlessthen.m
Go to the documentation of this file.
1 function isPos=isverlessthen(verStr)
2 curStr=char(java.lang.System.getProperty('java.version'));
3 isPos = (sign(getParts(curStr) - getParts(verStr)) * [1;0.1]) < 0;
4 end
5 function verVec = getParts(verStr)
6 verVec = sscanf(verStr, '%d.%d')';
7 end
function getParts(in verStr)
function isverlessthen(in verStr)
ISVERLESSTHEN returns true if current java version is less than specified one.