How can I create Standalone execute file from MATLAB GUI code
显示 更早的评论
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.
回答(2 个)
Andreas Goser
2011-9-28
0 个投票
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.
Aurelien Queffurust
2011-9-28
0 个投票
You say "it is just working well on my PC. " Did you install MCR on the other machines?
类别
在 帮助中心 和 File Exchange 中查找有关 Application Deployment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!