Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

version - Version number for MATLAB and libraries

Syntax

version
version('-date')
version('-description')
version('-release')
version('-java')
version -versionOption
v = version('-versionOption')

Description

version displays the version and release number for the MATLAB software currently running.

version('-date') displays the release date for the MATLAB software.

version('-description') displays a description of the version. Usually, the description is for special versions, such as beta versions.

version('-release') displays the release number for the MATLAB software currently running.

version('-java') displays the version of the Sun Microsystems JVM software that MATLAB is using.

version -versionOption is an alternate form of the syntax.

v = version('-versionOption') returns a string containing the result of version.

Examples

Display the version:

version

MATLAB returns:

7.9.0.2601 (R2009b)
 

Display the release, prefaced by a descriptor:

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

MATLAB returns:

Release R2009b
 

View the Java version:

version -java

MATLAB returns:

Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode

Alternatives

To view version information, select Help > About MATLAB in the MATLAB desktop.

See Also

computer | ver | verlessthan | whatsnew

How To

  


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