Info GUI/mex

Started by Giovanni Marino June 3, 2005
I have a problems with matlab.
I have a Gui and I would "translate" it in C/C++. I tried to use mex
but I have this error message from linker:
LINK : error LNK2001: unresolved external symbol mexFunction
_lib3151.x : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file

C:\MATLAB6P5\BIN\WIN32\MEX.PL: Error: Link of 'prova_hello.dll' failed.

??? Error using ==> mex
Unable to complete successfully"
What do I have to do?
How Can I get an executable file .exe?
Thank you very much