MATLAB Answers

Why do I see "invalid installer" when attempting to install MATLAB Compiler Runtime?

63 views (last 30 days)
Why do I see "The file is not a valid MATLAB Runtime installer for this version of MATLAB" when attempting to install MATLAB Compiler Runtime?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Jan 2020
Edited: MathWorks Support Team on 7 Jan 2020
This issue can occur if you are using a different release or update version of MATLAB when compiling the application. Users receiving the Application will not have this issue. When using MATLAB Compiler Runtime the release of MATLAB and the update version must be the same.
The release and update version can be specified in the URL. To obtain an earlier update version of the MATLAB Compiler Runtime:
  1. Navigate to the MATLAB Compiler Runtime page - https://www.mathworks.com/products/compiler/matlab-runtime.html
  2. Right-click on the R20XXx 64-bit link under the appropriate OS and select "Copy Link Address"
  3. Copy the address into a web browser and then replace the existing update number/release with the desired update/release in both places of the web address. For example:
supportfiles/downloads/*R2019a*/Release/*3*/deployment_files/installer/complete/win64/MATLAB_Runtime_*R2019b*_Update_*3*_win64.zip
This should allow you to download the specific update version.
This will automatically start the download process for the specified Compiler Runtime version.

  2 Comments

Sanjeev Rao
Sanjeev Rao on 10 Aug 2020
This doesn't appear to work for R2019b_Update_5_win64.zip. I get an error saying that the file is not found or may have moved to another location. Can you please assist with this ?
Thanks

Sign in to comment.

More Answers (2)

Qun HAN
Qun HAN on 5 Jun 2020
I've found an easier way. In Command Window, run compiler.runtime.download. Then Ctrl+C. You will found the right URL at the end of the error message.

  0 Comments

Sign in to comment.


Qun HAN
Qun HAN on 5 Jun 2020
One further Question:
Does the user need to install the matched version of MCR to run the complied APP?

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!

Translated by