My MCR is installed, and path is set, but Matlab does not detect it, and downloading a ZIP file for 2022b fails to work as well

Hi Folks,
I hope someone can help. My IT department installed the MCR for Matlab 2022b in:
C:\Program Files\MATLAB\MATLAB Runtime\R2022b\runtime\win64
I can see it in my system path:
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.13.0.2105380 (R2022b) Update 2
MATLAB License Number: *******
Operating System: Microsoft Windows 11 Enterprise Version 10.0 (Build 22631)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
>> mcr
MATLAB Runtime installer cannot be found. Download it using the command: compiler.runtime.download
I need to use Matlab AppDesigner to create a stand-alone EXE, and I need others in my company to be able to run it without downloading the MCR.
Interestingly, if I use AppDesigner's Application Compiler feature to Specify a ZIP file that I download from https://www.mathworks.com/products/compiler/matlab-runtime.html
Even though I am clearly running 2022b and I download the correct version on the website "MATLAB_Runtime_R2022b_Update_10_win64.zip", when I point Application Compiler to it, Matlab gives me an error saying "The file is not a valid MATLAB Runtime installer for this version of MATLAB".
Any advice on how to fix this?
Thanks!

Answers (0)

Categories

Products

Release

R2022b

Asked:

on 20 Jul 2025

Edited:

on 20 Jul 2025

Community Treasure Hunt

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

Start Hunting!