create an .exe file
조회 수: 6 (최근 30일)
이전 댓글 표시
hello
I create an exe file (from my GUI) with mbuild in matlab but when i run it on a PC that doesn't have matlab recieve an error.Why????????
is it possible to run that without having matlab??(like a program)
thank u
댓글 수: 0
답변 (2개)
the cyclist
2011년 7월 22일
Maybe I am misunderstanding your question, but don't you have to run the command "mcc" to compile the MATLAB code, not the "mbuild" command?
(I haven't used the MATLAB compiler in a very long time, so apologies if this is not correct.)
댓글 수: 0
Robert Cumming
2011년 7월 22일
what error do you get?
You need to deploy the MCR installer to run the exe on a PC that doesn't have matlab.
You can generate the MCR from the deploytool.
댓글 수: 1
참고 항목
카테고리
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!