/* 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(); }
/* 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); }
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 c_getStatefromKepler_Alg_mexFun(int32_T nlhs, mxArray *plhs[2], int32_T nrhs, const mxArray *prhs[7]) { int32_T n; const mxArray *inputs[7]; const mxArray *outputs[2]; int32_T b_nlhs; emlrtStack st = { NULL, /* site */ NULL, /* tls */ NULL /* prev */ }; st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 7) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, 12, 7, 4, 22, "getStatefromKepler_Alg"); } if (nlhs > 2) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, 4, 22, "getStatefromKepler_Alg"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nrhs; n++) { inputs[n] = prhs[n]; if (*emlrtBreakCheckR2012bFlagVar != 0) { emlrtBreakCheckR2012b(&st); } } /* Call the function. */ getStatefromKepler_Alg_api(inputs, outputs); /* Copy over outputs to the caller. */ if (nlhs < 1) { b_nlhs = 1; } else { b_nlhs = nlhs; } emlrtReturnArrays(b_nlhs, plhs, outputs); /* Module termination. */ getStatefromKepler_Alg_terminate(); }
/* Function Definitions */ static void rffe_test_mexFunction(int32_T nlhs, mxArray *plhs[1], int32_T nrhs, const mxArray *prhs[4]) { int32_T n; const mxArray *inputs[4]; const mxArray *outputs[1]; int32_T b_nlhs; emlrtStack st = { NULL, NULL, NULL }; st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 4) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, 12, 4, 4, 9, "rffe_test"); } if (nlhs > 1) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, 4, 9, "rffe_test"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nrhs; n++) { inputs[n] = prhs[n]; if (*emlrtBreakCheckR2012bFlagVar != 0) { emlrtBreakCheckR2012b(&st); } } /* Call the function. */ rffe_test_api(inputs, outputs); /* Copy over outputs to the caller. */ if (nlhs < 1) { b_nlhs = 1; } else { b_nlhs = nlhs; } emlrtReturnArrays(b_nlhs, plhs, outputs); /* Module termination. */ rffe_test_terminate(); }
/* Function Definitions */ static void closestPointOnWorld_mexFunction(int32_T nlhs, mxArray *plhs[1], int32_T nrhs, const mxArray *prhs[2]) { int32_T n; const mxArray *inputs[2]; const mxArray *outputs[1]; int32_T b_nlhs; emlrtStack st = { NULL, NULL, NULL }; st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 2) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, 12, 2, 4, 19, "closestPointOnWorld"); } if (nlhs > 1) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, 4, 19, "closestPointOnWorld"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nrhs; n++) { inputs[n] = prhs[n]; } /* Call the function. */ closestPointOnWorld_api(inputs, outputs); /* Copy over outputs to the caller. */ if (nlhs < 1) { b_nlhs = 1; } else { b_nlhs = nlhs; } emlrtReturnArrays(b_nlhs, plhs, outputs); /* Module termination. */ closestPointOnWorld_terminate(); }
/* Function Definitions */ static void drv_lgdr_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mxArray *inputs[1]; int n = 0; int nInputs = nrhs; /* Module initialization. */ drv_lgdr_initialize(&emlrtContextGlobal); /* Check for proper number of arguments. */ if (nrhs != 1) { emlrtErrMsgIdAndTxt(emlrtRootTLSGlobal, "EMLRT:runTime:WrongNumberOfInputs", 5, mxINT32_CLASS, 1, mxCHAR_CLASS, 8, "drv_lgdr"); } else if (nlhs > 0) { emlrtErrMsgIdAndTxt(emlrtRootTLSGlobal, "EMLRT:runTime:TooManyOutputArguments", 3, mxCHAR_CLASS, 8, "drv_lgdr"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nInputs; ++n) { inputs[n] = (mxArray *)prhs[n]; } /* Call the function. */ drv_lgdr_api((const mxArray**)inputs); /* Module finalization. */ drv_lgdr_terminate(); }
/* Function Definitions */ static void c_ChhabraJensen_Yuj_w0_mexFunct(int32_T nlhs, mxArray *plhs[10], int32_T nrhs, const mxArray *prhs[3]) { const mxArray *outputs[10]; int32_T b_nlhs; emlrtStack st = { NULL, /* site */ NULL, /* tls */ NULL /* prev */ }; st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 3) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, 12, 3, 4, 20, "ChhabraJensen_Yuj_w0"); } if (nlhs > 10) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, 4, 20, "ChhabraJensen_Yuj_w0"); } /* Call the function. */ ChhabraJensen_Yuj_w0_api(prhs, nlhs, outputs); /* Copy over outputs to the caller. */ if (nlhs < 1) { b_nlhs = 1; } else { b_nlhs = nlhs; } emlrtReturnArrays(b_nlhs, plhs, outputs); /* Module termination. */ ChhabraJensen_Yuj_w0_terminate(); }
static void PlotResults_mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { const mxArray *inputs[4]; int n = 0; int nInputs = nrhs; emlrtStack st = { NULL, NULL, NULL }; /* Module initialization. */ BoundaryElementHeatEquation_initialize(&emlrtContextGlobal); st.tls = emlrtRootTLSGlobal; /* Check for proper number of arguments. */ if (nrhs != 4) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:WrongNumberOfInputs", 5, mxINT32_CLASS, 4, mxCHAR_CLASS, 11, "PlotResults"); } else if (nlhs > 0) { emlrtErrMsgIdAndTxt(&st, "EMLRT:runTime:TooManyOutputArguments", 3, mxCHAR_CLASS, 11, "PlotResults"); } /* Temporary copy for mex inputs. */ for (n = 0; n < nInputs; ++n) { inputs[n] = prhs[n]; } /* Call the function. */ PlotResults_api(inputs); /* Module finalization. */ BoundaryElementHeatEquation_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(); }