Determine version of installed MATLAB Runtime
[major, minor] = mcrversion;
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;
Typing only mcrversion
will return the major
version number only.
mcrversion ans = 7