How can I create Standalone execute file from MATLAB GUI code
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Andreas Goser
2011년 9월 28일
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
Aurelien Queffurust
2011년 9월 28일
You say "it is just working well on my PC. " Did you install MCR on the other machines?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!