フィルターのクリア

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

1 回表示 (過去 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 Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by