http://www.mathworks.com/matlabcentr..._thread/162125
http://www.mathworks.com/matlabcentr...-matlab-with-c