MATLAB Runtime Installer Location

40 views (last 30 days)
I have a .mlapp file made by appdesigner, now I want to compile it into an .exe file that can be used in other computers which don't have MATLAB installed.
I have downloaded MATLAB Runtime for my version from mathworks site and installed it, which is now in this location:
C:\Program Files\MATLAB\MATLAB Runtime
I open Application Compiler, and choose 'Runtime included in package', after clicking on Package button, it asks me to download or specify Runtime location.
When I choose runtime folder, zip file or ...., it says: 'The file is not a valid MATLAB Runtime installer for this version of MATLAB'.
I've read all documents in MATLAB Help for this but didn't found anything helpful.
What should I do?
  2 Comments
Walter Roberson
Walter Roberson on 13 Sep 2022
I have downloaded MATLAB Runtime for my version from mathworks site and installed it
I would have to ask whether you were careful to download the Runtime appropriate for your Update version for the release. R2022a Update 1 may have a different Runtime than R2022a Update 2
Mahdi Hayati
Mahdi Hayati on 13 Sep 2022
Edited: Mahdi Hayati on 13 Sep 2022
I'm using R2020b and there was only one link for MATLAB Runtime version R2020b on mathworks site.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 13 Sep 2022
Edited: Image Analyst on 13 Sep 2022
What Walter was saying is to check the bell icon in the upper right of your MATLAB and see if you have the latest version or need to do the update, because I'm pretty sure the MCR is only for the latest update.
Hopefully you maintained your software maintenance agreement. If I were you I'd download the latest version (wait a week if you can for R2022b to be released).
I have my end users install the run time MCR as a separate install rather than including it in my app's install. But if you want to include the MCR in your install you need to figure out what it wants. Does it want
  1. the zip file on your computer, or
  2. the setup.exe from the extracted zip file contents, or
  3. the URL for the installer on the Mathworks web site?
I'm not sure since I don't do that. If none of those work, then call tech support.
  2 Comments
Walter Roberson
Walter Roberson on 13 Sep 2022
My guess based on historical precedent is that R2022b will be released either Thursday September 15th or Wednesday Sepetember 21st. But there is a bit of variability -- there has even been the occasional Friday release.
Mahdi Hayati
Mahdi Hayati on 14 Sep 2022
thank you both.
my MATLAB wasn't up to date and that was the problem, because as you mentioned, the runtime file in mathworks site is for the last update.
I will download it using the command below:
compiler.runtime.download
so it will download exactly the file for my version of matlab.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!