My need is really for debugging (Hence I need to replace mexFunction with int main). When I try to build a file ('int main') which uses some of the functions of mex.h it won't work.
I couldn't understand why.
Too bad, I wish I could debug files within Visual Studio.
"Phil Goddard" <email@example.com> wrote in message <firstname.lastname@example.org>... > You can't. > > The MathWorks doesn't allow you (with its licensing, as well as not supplying the required header/library/source files) to deploy an application using MathWorks software without having MATLAB or the MCR (for MATLAB Compiler generated applications) on the delpoyment machine. > > Note that a web search will bring up lots of info about a MATLAB C/C++ Math and Graphics Library, however that product was discontinued many years ago. > > Phil.