Friday, March 5, 2010

Allow C // style comments in MATLAB mex functions

Remove the -ansi CFLAG

Change

CFLAGS='-ansi -D_GNU_SOURCE'

to

CFLAGS='-D_GNU_SOURCE'

in MatlabR2009b/bin/mexopts.sh

and use

mex -setup to select this conf.

No comments: