| MATLAB Application Program Interface Reference | Help Desk |
mxGetJc
Get thejc array
integer*4 function mxGetJc(pm) integer*4 pmpm A pointer to the first element in the
jc array, if successful; otherwise, returns 0. The most likely cause of failure is specifying a pointer that points to a full (nonsparse) mxArray.
Use mxGetJc to obtain the starting address of the jc array. The jc array is an integer array having n+1 elements where n is the number of columns in the sparse mxArray. The values in the jc array indirectly indicate columns containing nonzero elements. For a detailed explanation of the jc array, see mxSetJc.
mxGetIr, mxSetIr, mxSetJc