From: Nilesh on
Hello,

i am working on MEX applications . i have strings which contains 64 bit values. I convert them to 64 bit and store it in a numeric array of type mxINT64_class. but when i access the numeric array the value is greater than 2147483647 is seena s 2147483647. but here actually i am supposed to get the 64 bit value .but restricted to maximum of int32.i am working on 32bit system with a 32 bit matlab.

mxArray * mx = mxCreateNumericMatrix(1,1,mxINT64_class,mx_REAL);
*(int *)mxGetData(mx) = atol(PQgetvalue(result,i,j));
mxSetFieldBynumber=(outArray , j,i,mx);