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 ?

 채택된 답변

James
James 2023년 2월 25일
편집: James 2023년 2월 28일

2 개 추천

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

Image Analyst
Image Analyst 2023년 2월 25일
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 2023년 2월 25일
I understand, but the OP is asking about it in relation to MATLAB.
Image Analyst
Image Analyst 2023년 2월 25일
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 2023년 2월 25일
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 2023년 2월 25일
@Jestzer: good hint. I get the Update 5 on my MATLAB. So the MCR and MATLAB are finally sync.
Bruno Luong
Bruno Luong 2023년 2월 25일
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 2023년 2월 25일
@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 2023년 2월 25일
편집: Bruno Luong 2023년 2월 25일
  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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2023년 2월 25일

0 개 추천

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

James
James 2023년 2월 25일
Did you try manually running the update installer executable?
Image Analyst
Image Analyst 2023년 2월 25일
편집: Image Analyst 2023년 2월 25일
@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 2023년 2월 25일
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 2023년 2월 25일
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.)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Application Deployment에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2023년 2월 23일

편집:

2023년 2월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by