Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



some mex issues on windows
Posted:
May 25, 2012 8:18 PM


Hi list, I am trying to compile a mex function, I an using 32 bin windows system. I have used pow() and exp() functions, and included <math.h>. However, when i execute mex lm <filename>.c I get a bunch of errors starting from a line containing the first instance to the call to the math.h function (pow() in this case). I have verified that it is not finding any libm.lib or equivalent. So, my question is 1) what compiler option should I use on windows 2) with is the equivalent libm.lib library on windows? Thanks. Sid.



