| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
As an alternative to the ver function, select Help > About in any tool that has a Help menu.
ver
ver product
v = ver('product')
ver displays a header containing the current MathWorks product family version number, license number, operating system, and version of Sun Microsystems JVM software for the MATLAB product. This is followed by the version numbers for MATLAB, Simulink, if installed, and all other installed MathWorks products.
ver product displays the MathWorks product family header information followed by the current version number for product. The name product corresponds to the folder name that holds the Contents.m file for that product. For example, Contents.m for the Control System Toolbox product resides in the control folder. 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.
To use ver with your own collection of files, see Providing a Help Summary for Your M-Files.
Using R2009b, return version information for MathWorks products, and specifically the Control System Toolbox product:
ver control
MATLAB returns:
------------------------------------------------------------------------------------- MATLAB Version 7.9.0.3512 (R2009b) MATLAB License Number: [not shown] Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 3) Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode ------------------------------------------------------------------------------------- Control System Toolbox Version 8.3 (R2009b)
Return version information for the Control System Toolbox product in a structure array, v.
v = ver('control')
v =
Name: 'Control System Toolbox'
Version: '8.4'
Release: '(R2009b)'
Date: '24-Sep-2009'Display version information for MathWorks 'Real-Time' products:
v = ver;
for k=1:length(v)
if strfind(v(k).Name, 'Real-Time')
disp(sprintf('%s, Version %s', ...
v(k).Name, v(k).Version))
end
end
Real-Time Windows Target, Version 3.4
Real-Time Workshop, Version 7.4
Real-Time Workshop Embedded Coder, Version 5.4
computer, help, hostid, license, verlessthan, version, whatsnew
Getting Version and License Information
![]() | vectorize | verctrl | ![]() |

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 |