Deploying stand alone applications
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Purushottama Rao
el 10 de Ag. de 2015
Respondida: Dirk Engel
el 27 de En. de 2025 a las 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.
0 comentarios
Respuestas (1)
Dirk Engel
el 27 de En. de 2025 a las 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.
0 comentarios
Ver también
Categorías
Más información sobre Application Deployment en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!