How can I create Standalone execute file from MATLAB GUI code
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I want to know how I can create Standalone execute file from my MATLAB GUI code. I have MATLAB compiler, so I already try it, but the execute files are always working on the PC which is installed MATLAB. However, I want it works everywhere (either MATLAB is intalled or not, either the Win OS is X64 or X32).
mbuilt -setup mcc -m mainmfile
I tried these command, and I tried deploytool also. However, these execute files weren't working on another PC, it is just working well on my PC. How can I create Standalone execute file from MATLAB GUI code. Thanks.
0 comentarios
Respuestas (2)
Andreas Goser
el 28 de Sept. de 2011
I am not sure if only your question was not carefully crafted (e.g. mbuilt instead of mbuild), or if this is exactly what you did in MATLAB. In general, this looks OK, first the setup command mcc -setup and then creating the executable with mcc -m.
Maybe, it is already in those small differences. If not, please explain what "weren't working is exactly".
One factor also maybe, that you try to run your executable on a different OS and architecture that you built it. When you create on Win64, it will not run on Mac, or on Win32.
0 comentarios
Aurelien Queffurust
el 28 de Sept. de 2011
You say "it is just working well on my PC. " Did you install MCR on the other machines?
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Compiler 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!