verLessThan
Compare toolbox version to a version string.
📝Syntax
tf = verLessThan(toolboxName, versionString)
📥Input Arguments
Parameter Description
toolboxName a string scalar or character array: product name.
versionString a string of the form 'major[.minor[.revision]]'.
📤Output Arguments
Parameter Description
tf a logical: true when the installed version is lower than versionString.
📄Description

tf = verLessThan(toolboxName, versionString) returns true when the installed version of the named product is lower than versionString.

For compatibility, querying 'matlab' reports a recent version so that legacy version gates resolve to false.

💡Examples
tf = verLessThan('nelson', '0.1')
🔗See Also
verisMATLABReleaseOlderThan
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub