Technical Solutions
Is the verLessThan function available back to MATLAB 6.0 (R12)?
Date Last Modified: Friday, June 26, 2009
| Solution ID: | 1-38LI61 | |
| Product: | MATLAB | |
| Reported in Release: | R2007a | |
| Platform: | All Platforms | |
| Operating System: | All OS |
Subject:
Is the verLessThan function available back to MATLAB 6.0 (R12)?
Problem Description:
MATLAB 7.4 (R2007a) introduces a new function called verLessThan that enables you to compare the currently running version of a MATLAB product or toolbox against a version that you specify in the command.
Solution:For example, you can use verLessThan in the following manner to ensure that code requiring capabilities built into Simulink 6.3 (R14SP3) or later is run on one of the appropriate versions:
where $MATLABROOT in the MATLAB root directory as returned by the MATLABROOT function executed at the command prompt. See the function reference page or M-file help on verLessThan for more information on how to use this function. |
Related Documents/Files:
|
|
Store

