/* Function Definitions */ static void naivePerfusionSSEP2X4_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mxArray *outputs[1]; mxArray *inputs[6]; int n = 0; int nOutputs = (nlhs < 1 ? 1 : nlhs); int nInputs = nrhs; /* Module initialization. */ naivePerfusionSSEP2X4_initialize(&emlrtContextGlobal); /* Check for proper number of arguments. */ if (nrhs != 6) { emlrtErrMsgIdAndTxt(emlrtRootTLSGlobal, "EMLRT:runTime:WrongNumberOfInputs", 5, mxINT32_CLASS, 6, mxCHAR_CLASS, 21, "naivePerfusionSSEP2X4"); } else if (nlhs > 1) { emlrtErrMsgIdAndTxt(emlrtRootTLSGlobal, "EMLRT:runTime:TooManyOutputArguments", 3, mxCHAR_CLASS, 21, "naivePerfusionSSEP2X4"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nInputs; ++n) { inputs[n] = (mxArray *)prhs[n]; } /* Call the function. */ naivePerfusionSSEP2X4_api((const mxArray**)inputs, (const mxArray**)outputs); /* Copy over outputs to the caller. */ for (n = 0; n < nOutputs; ++n) { plhs[n] = emlrtReturnArrayR2009a(outputs[n]); } /* Module finalization. */ naivePerfusionSSEP2X4_terminate(); }
static void Bcoeff_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { const mxArray *outputs[1]; const mxArray *inputs[5]; int n = 0; int nOutputs = (nlhs < 1 ? 1 : nlhs); int nInputs = nrhs; emlrtStack st = { NULL, NULL, NULL }; /* Module initialization. */ BoundaryElementHeatEquation_initialize(&emlrtContextGlobal); st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 5) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, mxINT32_CLASS, 5, mxCHAR_CLASS, 6, "Bcoeff"); } else if (nlhs > 1) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, mxCHAR_CLASS, 6, "Bcoeff"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nInputs; ++n) { inputs[n] = prhs[n]; } /* Call the function. */ Bcoeff_api(inputs, outputs); /* Copy over outputs to the caller. */ for (n = 0; n < nOutputs; ++n) { plhs[n] = emlrtReturnArrayR2009a(outputs[n]); } /* Module finalization. */ BoundaryElementHeatEquation_terminate(); }
/* Function Definitions */ static void testPHYReceive_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mxArray *outputs[1]; mxArray *inputs[1]; int n = 0; int nOutputs = (nlhs < 1 ? 1 : nlhs); int nInputs = nrhs; testPHYReceiveStackData* testPHYReceiveStackDataLocal = (testPHYReceiveStackData*)mxCalloc(1,sizeof(testPHYReceiveStackData)); /* Module initialization. */ testPHYReceive_initialize(&emlrtContextGlobal); /* Check for proper number of arguments. */ if (nrhs != 1) { emlrtErrMsgIdAndTxt(emlrtRootTLSGlobal, "EMLRT:runTime:WrongNumberOfInputs", 5, mxINT32_CLASS, 1, mxCHAR_CLASS, 14, "testPHYReceive"); } else if (nlhs > 1) { emlrtErrMsgIdAndTxt(emlrtRootTLSGlobal, "EMLRT:runTime:TooManyOutputArguments", 3, mxCHAR_CLASS, 14, "testPHYReceive"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nInputs; ++n) { inputs[n] = (mxArray *)prhs[n]; } /* Call the function. */ testPHYReceive_api(testPHYReceiveStackDataLocal, (const mxArray**)inputs, (const mxArray**)outputs); /* Copy over outputs to the caller. */ for (n = 0; n < nOutputs; ++n) { plhs[n] = emlrtReturnArrayR2009a(outputs[n]); } /* Module finalization. */ testPHYReceive_terminate(); mxFree(testPHYReceiveStackDataLocal); }
/* Function Definitions */ static void heart_rate_official_cport_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { /* Temporary copy for mex outputs. */ mxArray *outputs[2]; int n = 0; int nOutputs = (nlhs < 1 ? 1 : nlhs); /* Check for proper number of arguments. */ if(nrhs != 10) { mexErrMsgIdAndTxt("emlcoder:emlmex:WrongNumberOfInputs","10 inputs required for entry-point 'heart_rate_official_cport'."); } else if(nlhs > 2) { mexErrMsgIdAndTxt("emlcoder:emlmex:TooManyOutputArguments","Too many output arguments for entry-point 'heart_rate_official_cport'."); } /* Module initialization. */ heart_rate_official_cport_initialize(&emlrtContextGlobal); /* Call the function. */ heart_rate_official_cport_api(prhs,(const mxArray**)outputs); /* Copy over outputs to the caller. */ for (n = 0; n < nOutputs; ++n) { plhs[n] = emlrtReturnArrayR2009a(outputs[n]); } /* Module finalization. */ heart_rate_official_cport_terminate(); }
static void init_ekf_matrix_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { const mxArray *outputs[5]; int n = 0; int nOutputs = (nlhs < 1 ? 1 : nlhs); emlrtStack st = { NULL, NULL, NULL }; /* Module initialization. */ ekf_13state_initialize(&emlrtContextGlobal); st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 0) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, mxINT32_CLASS, 0, mxCHAR_CLASS, 15, "init_ekf_matrix"); } else if (nlhs > 5) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, mxCHAR_CLASS, 15, "init_ekf_matrix"); } /* Call the function. */ init_ekf_matrix_api(outputs); /* Copy over outputs to the caller. */ for (n = 0; n < nOutputs; ++n) { plhs[n] = emlrtReturnArrayR2009a(outputs[n]); } /* Module finalization. */ ekf_13state_terminate(); }