MATLAB Answers

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

60 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 -
  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:
This should allow you to download the specific update version.
This will automatically start the download process for the specified Compiler Runtime version.


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

Sign in to comment.

More Answers (2)

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


Sign in to comment.

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?


No tags entered yet.


Community Treasure Hunt

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

Start Hunting!