How to compile and install without MCR?

2 visualizaciones (últimos 30 días)
Jake
Jake el 10 de Jun. de 2014
Respondida: Madhura Suresh el 16 de Jun. de 2014
Hello all!
I have a program which I am trying to compile for distribution. I used deploytool and compiled for use on a Mac. Whenever I install the program along with the MCR the program runs fine. However, in the future I would like to be able to issue updates without the MCR installer.
I figured the correct file for this usage would be found in the 'for_redistribution_files_only' folder which is created when compiling. In fact, the '.app' file that is created seems to be the same in every way to the '.app' file installed when I do the full install with MCR. I checked this using file size and MATLAB's diff functionality. Even though the two '.app' files are the exact same, when I try to use the '.app' file from the 'for_redistribution_files_only' folder it does not launch the program at all. I don't understand how this could be possible.
I would really like to be able to make this work so I can more easily distribute newer versions. Has anyone dealt with this before?

Respuestas (1)

Madhura Suresh
Madhura Suresh el 16 de Jun. de 2014
Hi Jake,
Maybe you should try using the executable from the for_testing folder instead. That has no trace of the MCR, and should work as expected.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by