Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mcrversion

Determine version of installed MATLAB Runtime

Syntax

[major, minor] = mcrversion;

Description

The MATLAB® Runtime 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.

Typing only mcrversion will return the major version number only.

Examples

mcrversion
ans =
     7

Introduced in R2008a

Was this topic helpful?