3
void mexfunction8(nlhs, plhs, nrhs, prhs)
5
mxArray *plhs[]; mxArray *prhs[];
10
static char *STRINGS[3] ={"123456789",
14
array_ptr=mxCreateCharMatrixFromStrings(ROWS, STRINGS);
15
rows=mxGetM(array_ptr);
16
columns=mxGetN(array_ptr);
17
mexPrintf("Rows %d; Columns %d\n", rows, columns);