imat_ver


Purpose

Return information on the current version of IMAT.

Syntax

imat_ver
v=imat_ver
[v,n]=imat_ver
[v,n,d]=imat_ver
v=imat_ver('matlab')

Description

IMAT_VER is a utility function that returns the current version of IMAT. Up to three output arguments can be supplied. If none are supplied, a string containing the version information is returned.

The meaning of the output arguments are as follows:

v    - character array containing the IMAT version information string

n    - character array containing the version number

d    - character array containing the date IMAT was compiled

If you pass in the string 'matlab', IMAT_VER returns a number containing the current MATLABversion multiplied by 10000. The minor version number will be multiplied by 100, and the tertiary version number (if any) will be added as-is. For example, MATLAB 8.1 will be returned as 81000. MATLAB 7.9.1 will be returned as 70901.

Examples

>> imat_ver
Interface between MATLAB, Analysis, and Test Version 3.0.0 10/09/2009

>> [v,n,d]=imat_ver
v =
Interface between MATLAB, Analysis, and Test Version 3.0.0 10/09/2009
n =
3.0.0
d =
10/09/2009