When I try to download MCR 2022b, it appears the Update is 5
However the latest Update for MATLAB R2022b itself is Update 4.
What is the change of MCR Update 5 ? How can I be sure the deployed app will work identical to the test of the non-deployed code performed on Update 4 ?

 Réponse acceptée

James
James le 25 Fév 2023
Modifié(e) : James le 28 Fév 2023

2 votes

You can force MATLAB to update to Update 5 if you run the update_installer.exe found in C:\Program Files\MATLAB\R2022b\bin\win64.
However, there don't seem to be any release notes for Update 5 yet, so I don't think we can be sure of anything yet. I wouldn't update anything to Update 5 if you depend on MATLAB/MCR for work.
EDIT: The release notes are now available from the link above.

8 commentaires

Image Analyst
Image Analyst le 25 Fév 2023
The MCR has been updated to Update 5. To verify, just hover your cursor over the link on this page:
and see the filename in the status bar.
James
James le 25 Fév 2023
I understand, but the OP is asking about it in relation to MATLAB.
Image Analyst
Image Analyst le 25 Fév 2023
I thought because he said MCR, and the link said Runtime, that he was talking about the MATLAB Component Runtime library rather than the full development environment.
Another weird thing. When I go to download the latest full development version, it shows only update 4:
James
James le 25 Fév 2023
My understanding is that not everybody gets Updates “available” to them in most places at the same time (since different people at the same company get MATLAB Update emails at different times.) However, running the update installer executable that MATLAB ships with seems to ignore this and allows to install whatever the latest update is, regardless of who you are.
Bruno Luong
Bruno Luong le 25 Fév 2023
@Jestzer: good hint. I get the Update 5 on my MATLAB. So the MCR and MATLAB are finally sync.
Bruno Luong
Bruno Luong le 25 Fév 2023
Seem like MATLAB is going through an Update crisis right now. So many abnormal things are disturbed in the standard workflow.
Image Analyst
Image Analyst le 25 Fév 2023
@Bruno Luong why do you need the MCR? Just to distribute to your end users? I have the development environment with the compiler and if I compile my code into a standalone program I don't need the MCR to run it. It runs on my computer without it because I guess it finds whatever it needs in the development (main) folder. However if I deploy my executable to end users, they will have to somehow get the MCR (either I give it to them or they download it themselves).
  1. Are you compiling and distributing standalone programs?
  2. Do you install the MCR on your own development computer?
Bruno Luong
Bruno Luong le 25 Fév 2023
Modifié(e) : Bruno Luong le 25 Fév 2023
  1. Yes
  2. Not necessary but some time I do for testing
MCR is needed for anyone who run the the compiled application without MATLAB.
To reduce the risk I need to test/validate the app the same version of MCR and the MATLAB where test are performed.
TMW needs to understand this is important and stop messing around with update version.

Connectez-vous pour commenter.

Plus de réponses (1)

Image Analyst
Image Analyst le 25 Fév 2023

0 votes

I just tried to update on my personal, non-work computer. The bell icon in the upper left said something like "Update 5 is ready". So I clicked on it and it went though the install procedure but the window said "Updating to update 3" or something like that. And when it was all finished, it was update 3 that had been installed. I have no idea why.

4 commentaires

James
James le 25 Fév 2023
Did you try manually running the update installer executable?
Image Analyst
Image Analyst le 25 Fév 2023
Modifié(e) : Image Analyst le 25 Fév 2023
@Jestzer I ran "C:\Program Files\MATLAB\R2022b\bin\win64\update_installer.exe" like you suggested, and now that is installing update 5 as expected. Thanks.
It's strange that the bell update installs the wrong version. I believe I had been using Update 4 before the darn bell downgraded me to update 3. I might report it as a bug, but of course R2023a will be out in about 2-3 weeks so it's almost a moot point.
James
James le 25 Fév 2023
Sure thing.
I haven’t heard of the bell notification installing a different update than what it displays. My guess is it had to do with the weirdness going on with Update 4. I think you’re right about it being a moot point, though.
Star Strider
Star Strider le 25 Fév 2023
I just successfully updated to Update 5 using the approach described in this Comment. When I launched MATLAB afterward, it noted that Update 5 had been installed. (That was in spite of something crashing my desktop mid-download. I just re-sttarted the download and everything worked.)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Application Deployment dans Centre d'aide et File Exchange

Produits

Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by