Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Using the MX Matrix Library in General C Code
Replies: 9   Last Post: Jul 15, 2012 11:10 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Royi Avital

Posts: 121
Registered: 2/4/09
Re: Using the MX Matrix Library in General C Code
Posted: Jul 15, 2012 10:49 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.