version - Version number for MATLAB

GUI Alternatives

As an alternative to the version function, select Help > About MATLAB in the MATLAB desktop.

Syntax

version
v = version
version option
v = version('option')

Description

version displays the MathWorks product family version.

v = version returns the MathWorks product family version number in string v.

version option displays the following additional information about the version. You can specify no more than one option in a version command.

Option

Description

-date

Release date

-description

Release description. Mostly used for Service Pack releases.

-java

Sun Microsystems JVM software version used by MATLAB

-release

Release number

v = version('option') returns in string v the information displayed in response to the syntax shown above. You can only specify no more than one option when using this syntax.

Remarks

On Microsoft Windows and UNIX[1] platforms, MATLAB includes JVM software and uses that version. If you use the MATLAB interface to Sun Microsystems Java software and the Java classes you want to use require a different version of the JVM software than that provided with MATLAB, it is possible to run MATLAB with a different version of JVM software. For details, see Using a Different Version of JVM Software.

On the Apple Macintosh platform, MATLAB does not include JVM software, but uses JVM software provided with Mac OS X.

Examples

d = version('-date')
d =
   January 24, 2009

Run the following command in MATLAB Version 7.8 (R2009a):

['Release R' version('-release')]

ans =
   Release R2009a

See Also

computer, ver, verlessthan, whatsnew

Help > Check for Updates in the MATLAB desktop.


[1] UNIX is a registered trademark of The Open Group in the United States and other countries.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS