Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Using the MX Matrix Library in General C Code
Posted:
Jul 15, 2012 10:49 AM
|
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <jtug5v$3bg$1@newscl01ah.mathworks.com>... > "Royi Avital" wrote in message <jtubk1$hgs$1@newscl01ah.mathworks.com>... > > I see. > > I thought so. > > > > 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. > > But why must you change mex file in generic C-code for debugging? > > Bruno
Because the compiler asks for 'int main' to build and debug. Do you know other way?
Thanks.
|
|
|
|