Errors in creating a standalone .exe file from .m file.
이전 댓글 표시
I used "mcc -m myfilename" command to create .exe file from .m file. This didn't create .exe file but generate an error message saying "Undefined function 'mcc' for input arguments of type 'char'.". Does anyone know how to fix this problem?
Matlab R2011b (7.13.0.564) is installed in my computer, and "mex -setup" command locate one compiler, Lcc-win32 C 2.4.1.
답변 (1개)
Titus Edelhofer
2011년 11월 7일
Hi,
the error tells you that the MATLAB compiler is not installed. Type
ver
to see what is installed. mex is something different ...
Titus
댓글 수: 4
Leno
2011년 11월 8일
Titus Edelhofer
2011년 11월 8일
After the Java version should come something like
------------------------------
MATLAB Version 7.x (R200xa)
and if there is no line
MATLAB Compiler Version 4.x (R200xa)
then it is not installed.
Titus
Daniel Shub
2011년 11월 8일
Unless of course you are running a "b" release ...
MATLAB Compiler Version 4.x (R200xb)
Titus Edelhofer
2011년 11월 9일
Yes, or some older version like
MATLAB Compiler Version 3.x (R13)
;-)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!