Deploying stand alone applications

7 visualizzazioni (ultimi 30 giorni)
Purushottama Rao
Purushottama Rao il 10 Ago 2015
Risposto: Dirk Engel il 27 Gen 2025 alle 17:47
Hello Every One, I have been trying to make a stand alone application (which should run on a pc without MATLAB) I have generated .exe by using the matlab complier ver 4.7 (2007b). In my target PC, i have installed MCR version 7.7 (taken from host PC where MATLAB is installed) and added c:Programfiles\MATLAB\MATLAB Component Runtime\v77\runtime\win32 to the PATH Variable.
Now i expect that clicking on the .exe file should run the application. But in my case, DOS Prompt opens and closes on its own and creates a file with _mcr appended to the application name (which contains no info) and application won't run.
Pls help me to come out of this issue.

Risposte (1)

Dirk Engel
Dirk Engel il 27 Gen 2025 alle 17:47
Does the application run on the host PC where MATLAB is installed? If yes, then MATLAB runtime (MCR) is not installed or registered correctly on the other PC, even though it looks like you did the right steps. Also, try running the exe from an opened command window. This way you might be able to see an error message printed to the command window, which you would miss otherwise because the window closes immediately.

Categorie

Scopri di più su Application Deployment in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by