Return MATLAB Runtime version number that matches MATLAB version
returns the MATLAB® Runtime version number matching the version of MATLAB from where the command is executed. The MATLAB Runtime version number consists of two digits, separated by a decimal point. This
function returns each digit as a separate output variable:
minor] = mcrversion
If the version number ever increases to three or more digits, call
mcrversion with more outputs, as follows:
[major, minor, point] = mcrversion;
Return the MATLAB Runtime Version Number Matching the Version of MATLAB.
[major, minor] = mcrversion
major = 9 minor = 9
major— Major version number
Major version number returned as a positive integer scalar.
minor— Minor version number
Minor version number returned as a positive integer scalar.