/* 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 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(); }