Why mex is creating error?

2 visualizaciones (últimos 30 días)
Shaila parvin
Shaila parvin el 10 de Feb. de 2014
Editada: Rehan el 5 de Sept. de 2017
I run this code:
mex -O resize.cc
mex -O reduce.cc
mex -O shiftdt.cc
mex -O features.cc
mex -O fconv.cc
This error occurs:
??? Error using ==> mex at 222 Unable to complete successfully.
Error in ==> compile at 1 mex -O resize.cc
What to do now?
  1 comentario
Walter Roberson
Walter Roberson el 10 de Feb. de 2014
It doesn't say anything else?
Have you used
mex -setup
to configure your compiler ?

Iniciar sesión para comentar.

Respuestas (2)

Rehan
Rehan el 5 de Ag. de 2017
Editada: Walter Roberson el 5 de Ag. de 2017
hi
this syntax is for mac or linux, but if you are running this code on windows. use full path like this
mex C:\Users\....\resize.cc
if you have any issue you can ask. i hope it helped.
  3 comentarios
Jan
Jan el 5 de Ag. de 2017
@Rehan: The situation is the same under Linux, MacOS and Windows: If resize.cc is in the current folder, no path is required. If it is not in the current folder, you need either a relative or absolute path.
Rehan
Rehan el 5 de Sept. de 2017
Editada: Rehan el 5 de Sept. de 2017
you are absolutely right, maybe his file is not in current folder so its giving error, i tried to make easy for him.

Iniciar sesión para comentar.


Jan
Jan el 5 de Ag. de 2017

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by