MATLAB Function Reference Previous page   Next Page
ver

Display version information for MathWorks products

Graphical Interface

As an alternative to the ver function, select About from the Help menu in any product that has a Help menu.

Syntax

Description

ver displays a header containing the current version number, license number, operating system, and Java VM version for MATLAB, followed by the version numbers for Simulink, if installed, and all other MathWorks products installed.

ver product displays the MATLAB header information followed by the current version number for product. The name product corresponds to the directory name that holds the Contents.m file for that product. For example, Contents.m for the Control System Toolbox resides in the control directory. You therefore use ver control to obtain the version of this toolbox.

v = ver('product') returns the version information to structure array, v, having fields Name, Version, Release, and Date.

Remarks

To use ver with your own product, the first two lines of the Contents.m file for the product must be of the form

Do not include any spaces in the date and use a two-character day; that is, use 02-Sep-2002 instead of 2-Sep-2002.

Examples

Return version information for the Control System Toolbox by typing

MATLAB returns

Return version information for the Control System Toolbox in a structure array, v.

See Also

help, hostid, license, version, whatsnew

Type help info at the Command Window prompt.


Previous page  vectorize verctrl Next page

© 1994-2005 The MathWorks, Inc.