MATLAB Function Reference |
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 Version 7.0.0.19220 (R14) MATLAB License Number: %$#)^(%()$^ Operating System: Microsoft Windows 2000 Version 5.0 (Build 2195: Service Pack 3) Java VM Version: Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM --------------------------------------------------------------- - Control System Toolbox Version 6.0 (R14)
Return version information for the Control System Toolbox in a structure array, v
.
v = ver('control') v = Name: 'Control System Toolbox' Version: '6.0' Release: '(R14)' Date: '19-Apr-2004'
See Also
help
, hostid
, license
, version
, whatsnew
Type help info
at the Command Window prompt.
vectorize | verctrl |
© 1994-2005 The MathWorks, Inc.