MATLAB Runtime Installer Location

50 visualizaciones (últimos 30 días)
Mahdi Hayati
Mahdi Hayati el 13 de Sept. de 2022
Comentada: Mahdi Hayati el 14 de Sept. de 2022
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 comentarios
Walter Roberson
Walter Roberson el 13 de Sept. de 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 el 13 de Sept. de 2022
Editada: Mahdi Hayati el 13 de Sept. de 2022
I'm using R2020b and there was only one link for MATLAB Runtime version R2020b on mathworks site.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 13 de Sept. de 2022
Editada: Image Analyst el 13 de Sept. de 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 comentarios
Walter Roberson
Walter Roberson el 13 de Sept. de 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 el 14 de Sept. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by