mcrversion

Determines version of installed MATLAB Compiler Runtime (MCR)

Syntax

[major, minor] = mcrversion;

Description

The MCR version number consists of two digits, separated by a decimal point. This function returns each digit as a separate output variable: [major, minor] = mcrversion; Major and minor are returned as integers.

If the version number ever increases to three or more digits, call mcrversion with more outputs, as follows:

[major, minor, point] = mcrversion;

At this time, all outputs past "minor" are returned as zeros.

Example

Running:

mcrversion

at the command prompt will yield an answer in the following format: x.y where x is the major release and y is the minor release. If the minor release value equates to zero, only the major release value will be displayed.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS