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

3 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Sanchali Purandare
Sanchali Purandare el 16 de En. de 2011
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.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by