Why do I get the MEX.PL: Error when set a compiler with mex -setup?

조회 수: 3 (최근 30일)
Sanchali Purandare
Sanchali Purandare 2011년 1월 16일
I would like to set up a compiler. However, I got the following error:
\matlabroot\\BIN\MEX.PL: Error: No file names given when setting up the compiler even if MEX.PL exists in \matlabroot\\BIN.

답변 (1개)

Sanchali Purandare
Sanchali Purandare 2011년 1월 16일
There should be a space between mex and -setup like mex -setup. If there is another special character between mex and setup without a space, the same error is occured.
For example,
mex/setup
Usage:
MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]
or (to build an Ada S-function):
MEX [-v] [-g] -ada .ads
Use the -help option for more information, or consult the MATLAB API Guide.
\matlabroot\BIN\MEX.PL: Error: No file names given.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by