Main Content
mcrversion
Return MATLAB Runtime version number that matches MATLAB version
Description
[
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: major
,minor
] = mcrversionmajor
,
minor
.
If the version number ever increases to three or more digits, call
mcrversion
with more outputs, as follows:
[major, minor, point] = mcrversion;