MatrixBerryCore
+mxberry
+java
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
mxberry::java::getParts
function getParts(in verStr)
mxberry::java::isverlessthen
function isverlessthen(in verStr)
ISVERLESSTHEN returns true if current java version is less than specified one.
Generated for MatrixBerryCore by
1.8.13