Error: An error occurred while shelling out to mbuild (error code = 255). Unable to build executable.
조회 수: 10 (최근 30일)
이전 댓글 표시
Hi,
I am trying to create an exe file from my matlab code that will be used in a computer that does not have matlab installed. For that I use deploytool GUI. I click Windows standalone application. I add my main file and click build but I get and error message
Run mbuild -setup to specify the default compiler options file.
I go to settings -> Advanced
there External complier settings section , External C/C++ Complier section is red and has a message on " Run mbuild -setup to specify the default compiler options file. "
However, I do not have any C++ or C files in my code just Matlab code. Any idea what is the problem?
댓글 수: 0
답변 (1개)
Walter Roberson
2013년 11월 16일
MATLAB needs a C or C++ compiler in order to build some internal components needed for the executable. You need to install such a compiler. At the command line give the command
mbuild -setup
and see if it thinks you already have a compiler available.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!