MATLAB Runtime Installer Location

41 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2022-9-13
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 2022-9-13
编辑:Mahdi Hayati 2022-9-13
I'm using R2020b and there was only one link for MATLAB Runtime version R2020b on mathworks site.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2022-9-13
编辑:Image Analyst 2022-9-13
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 个评论
Walter Roberson
Walter Roberson 2022-9-13
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 2022-9-14
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by