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

1 次查看(过去 30 天)
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