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: c program fails to compile with mex, while cpp program compiles fine
Replies: 3   Last Post: Feb 1, 2013 1:55 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
James Tursa

Posts: 2,096
Registered: 8/5/09
Re: c program fails to compile with mex, while cpp program compiles fine
Posted: Feb 1, 2013 1:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"shome" wrote in message <keg4a0$r58$1@newscl01ah.mathworks.com>...
>
> Hello.c:
>
> #include <math.h>
> #include <matrix.h>
> #include <mex.h>


Try changing the above includes to:

#include <math.h>
#include "mex.h"


James Tursa



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.