Why do I receive an error referencing mex.pl when I try to compile with MATLAB Compiler 4.1.1 (R14SP1+)?
조회 수: 5 (최근 30일)
이전 댓글 표시
When I try to compile an application using the command:
mcc -md C:\TEMP\ magicsquare.m
I receive the following error message:
D:\APPLICATIONS\MATLAB701\BIN\WIN32\\..\WIN32\MEX.PL: Error: No file names given.
'-e' is not recognized as an internal or external command,
operable program or batch file.
Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable.
??? Error executing mcc, return status = 1.
채택된 답변
MathWorks Support Team
2009년 6월 27일
This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
This error occurs when a backslash (\) is added to the end of the output directory specified with the -d option. To work around this issue, avoid this backslash as in the following command:
mcc -md C:\TEMP magicsquare.m
댓글 수: 0
추가 답변 (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!