| MATLAB Function Reference | ![]() |
Display version information for MATLAB, Simulink, and toolboxes
Graphical Interface
As an alternative to the ver function, select About from the Help menu in any product that has a Help menu.
Syntax
ver
ver toolbox
v = ver('toolbox')
Description
ver
displays the current version numbers and release dates for MATLAB, Simulink, and all toolboxes.
ver toolbox
displays the current version number and release date for the toolbox specified by toolbox. The name, toolbox, corresponds to the directory name that holds the Contents.m file for that toolbox. For example, Contents.m for the Fuzzy Logic Toolbox resides in the fuzzy directory. You therefore use ver fuzzy to obtain the version of this toolbox.
v = ver('toolbox')
returns the version information in structure array, v, having fields Name, Version, Release, and Date.
Remarks
See comments near the top of ver.m for information on how your own toolboxes can use the ver function. Type the following at the MATLAB command prompt.
type ver.m
Examples
To return version information for the Fuzzy Logic Toolbox,
ver fuzzy Fuzzy Logic Toolbox Version 2.0.1 (R11) 16-Sep-1998
To return version information for MATLAB in a structure array, v,
v = ver('matlab')
v =
Name: 'MATLAB Toolbox'
Version: '6.0'
Release: '(R12)'
Date: '30-Dec-1999'
See Also
Also, type help info at the Command Window prompt.
| vectorize | version | ![]() |