21 void mexFunction(
int nlhs, mxArray* plhs[],
int nrhs,
const mxArray* prhs[])
27 mexPrintf(
"Max num threads %d.\n", omp_get_max_threads());
29 for (
int i = 0; i < 10; i++)
31 mexPrintf(
"Num threads %d, thread ID %d.\n", omp_get_num_threads(), omp_get_thread_num());
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])