Where can I find information about MATLAB Compiler Runtime (MCR) versions?

109 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 11 Feb 2022
Edited: MathWorks Support Team on 11 Feb 2022
MATLAB Compiler Runtime requires the correct version installed to run a compiled application.
The version information is recorded in the VersionInfo.xml file in the MATLAB Runtime installation folder. For example,  C:\Program Files\MATLAB\MATLAB Runtime\v910\VersionInfo.xml.
If you want to check it programmatically, the MCRVERSION function can help you determine the MCR version of a copy of MATLAB, while the VER function can help determine the version of the MATLAB Compiler toolbox. Starting from R2020b, you can also use  matlabRelease function. For more information on these functions, execute the following lines of code at the MATLAB command prompt:
help mcrversionhelp ver\nhelp matlabRelease
Installers for the current versions of MATLAB Compiler Runtime can be found on our website at:https://www.mathworks.com/products/compiler/mcr.htmlThese can be used for both online and offline computers, as the download contains all the files needed for a complete MATLAB Compiler Runtime installation.For R2018a and newer, you can run the following command to install MATLAB Compiler Runtime. The command will only work if you have MATLAB Compiler installed and activated, have a working internet connection, and do not have a proxy or firewall.
compiler.runtime.download
If you need to install an older version of MATLAB Compiler Runtime, please see the following article:How do you install older versions of MCR which are not available online?http://www.mathworks.com/matlabcentral/answers/170951

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!