Where do I get the MATLAB runtime corresponding to Version 2022a Update 2 from?

I am trying to compile an App as a Standalone App using MATLAB 2022a Update 2. I thus need the appropriate runtime for this sub-version. Some other help page directed me to a variety of versions but for 2022a it only listed the Update 6 version.
As an aside: if there are 6 valid versions for 2022a, why doesn't the compiler list page show them all? BTW: Because I am working in a corporate envirionment it is not easy for me to just download and install the Update 6 version of MATLAB. In fact still I'm waiting for my corporate IT to install 2023a, but because I need to correct a bug in my App I have to use my currently installed version [2022a (Update2)].

Answers (1)

Hi Hugh,
All the MATLAB Runtimes are listed alongside their respective MATLAB releases on the MATLAB Runtime page.
Use this link to access the MATLAB Runtime page - https://www.mathworks.com/products/compiler/matlab-runtime.html
Regarding your question about why the compiler list page does not show all available versions of the MCR, it's because the page is only displaying the most recent version(s) of the MCR for each version of MATLAB. This is because the most recent version of the MCR is generally the most compatible with the corresponding version of MATLAB.
Hope this helps!

3 Comments

Hi Shivani,
I don't think its correct to say that "All the MATLAB Runtimes are listed alongside their respective MATLAB releases on the MATLAB Runtime page."
The page you have pointed me to lists one version of the runtime for MATLAB Release 2022a. However, I believe there are 6 (maybe 7?) "update releases", namely update1 thru 6 for Release 2022a and each requires a different version of the runtime. I did originally download the runtime you have pointed me to but it points to "Update 6" and doesn't work for me because I am using "Update_2". The actual link is:
You may suggest "why not just change to Update_6", however, I am using MATLAB within a highly regulated corporate environment and its not practical to update software every month as new updates are rolled out. To do so requires a request to my IT department, who have to "package" the software and then deploy the package to me. Hence I only update once a year and my update isn't listed.
In the end, I did manage with the help of Australian MATLAB support to get the correct version, so my problem is solved for the moment - until the next time I change versions of MATLAB I guess.
The link on the page shared will contain the link to the MCR corresponding to the latest release. This MCR should ideally be compatible with all the sub-releases corresponding to that version. If you are facing an error while compiling an application using the latest version of MCR then please share the exact details of the error.
Hi Shivani,
I don't think it's correct to say:
"... the link to the MCR corresponding to the latest release. This MCR should ideally be compatible with all the sub-releases corresponding to that version."
If I try to use the latest MCR for ver 2022a which is: "MATLAB_Runtime_R2022a_Update_7_win64.zip", when I try to update my MATLAB Compiler Preferences I get an error message: "The file is not a valiod MATLAB Runtime installer for this version of MATLAB."
I don't even get to the stage of trying to package my application.
So... I have to use the "_Update_2_" version which is very hard (?) / impossible (?) to find on the MATLAB website, which goes back to the original problem of only displaying the MCR for one Update for each version when this will not work for other Updates of the same version.
Basically if I have anything other than Update 7 of MATLAB 2022a then I can't find the appropriate MCR on your website.
Regards,
Hugh

Sign in to comment.

Categories

Products

Release

R2022a

Asked:

on 24 May 2023

Commented:

on 20 Sep 2023

Community Treasure Hunt

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

Start Hunting!