C Mex S Function In Matlab