tf = verLessThan(toolboxName, versionString)
| Parameter | Description |
|---|---|
| toolboxName | a string scalar or character array: product name. |
| versionString | a string of the form 'major[.minor[.revision]]'. |
| Parameter | Description |
|---|---|
| tf | a logical: true when the installed version is lower than versionString. |
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.
tf = verLessThan('nelson', '0.1')
| Version | Description |
|---|---|
| 2.0.0 | initial version |