/* * Select_Ground_Motions_mexutil.c * * Code generation for function 'Select_Ground_Motions_mexutil' * * C source code generated on: Wed Aug 26 14:59:32 2015 * */ /* Include files */ #include "rt_nonfinite.h" #include "Select_Ground_Motions.h" #include "Select_Ground_Motions_mexutil.h" #include "inv.h" /* Function Declarations */ static void b_emlrt_marshallIn(const mxArray *u, const emlrtMsgIdentifier *parentId, char_T y[14]); static void k_emlrt_marshallIn(const mxArray *src, const emlrtMsgIdentifier *msgId, char_T ret[14]); /* Function Definitions */ static void b_emlrt_marshallIn(const mxArray *u, const emlrtMsgIdentifier *parentId, char_T y[14]) { k_emlrt_marshallIn(emlrtAlias(u), parentId, y); emlrtDestroyArray(&u); } static void k_emlrt_marshallIn(const mxArray *src, const emlrtMsgIdentifier *msgId, char_T ret[14]) { int32_T iv134[2]; int32_T i24; for (i24 = 0; i24 < 2; i24++) { iv134[i24] = 1 + 13 * i24; } emlrtCheckBuiltInR2012b(emlrtRootTLSGlobal, msgId, src, "char", FALSE, 2U, iv134); emlrtImportCharArray(src, ret, 14); emlrtDestroyArray(&src); } const mxArray *b_message(const mxArray *b, const mxArray *c, emlrtMCInfo *location) { const mxArray *pArrays[2]; const mxArray *m52; pArrays[0] = b; pArrays[1] = c; return emlrtCallMATLABR2012b(emlrtRootTLSGlobal, 1, &m52, 2, pArrays, "message", TRUE, location); } const mxArray *b_sprintf(const mxArray *b, const mxArray *c, const mxArray *d, emlrtMCInfo *location) { const mxArray *pArrays[3]; const mxArray *m53; pArrays[0] = b; pArrays[1] = c; pArrays[2] = d; return emlrtCallMATLABR2012b(emlrtRootTLSGlobal, 1, &m53, 3, pArrays, "sprintf", TRUE, location); } const mxArray *c_sprintf(const mxArray *b, const mxArray *c, emlrtMCInfo *location) { const mxArray *pArrays[2]; const mxArray *m54; pArrays[0] = b; pArrays[1] = c; return emlrtCallMATLABR2012b(emlrtRootTLSGlobal, 1, &m54, 2, pArrays, "sprintf", TRUE, location); } void emlrt_marshallIn(const mxArray *d_sprintf, const char_T *identifier, char_T y[14]) { emlrtMsgIdentifier thisId; thisId.fIdentifier = identifier; thisId.fParent = NULL; b_emlrt_marshallIn(emlrtAlias(d_sprintf), &thisId, y); emlrtDestroyArray(&d_sprintf); } const mxArray *emlrt_marshallOut(real_T u) { const mxArray *y; const mxArray *m42; y = NULL; m42 = mxCreateDoubleScalar(u); emlrtAssign(&y, m42); return y; } void error(const mxArray *b, emlrtMCInfo *location) { const mxArray *pArray; pArray = b; emlrtCallMATLABR2012b(emlrtRootTLSGlobal, 0, NULL, 1, &pArray, "error", TRUE, location); } const mxArray *message(const mxArray *b, emlrtMCInfo *location) { const mxArray *pArray; const mxArray *m51; pArray = b; return emlrtCallMATLABR2012b(emlrtRootTLSGlobal, 1, &m51, 1, &pArray, "message", TRUE, location); } void warning(const mxArray *b, emlrtMCInfo *location) { const mxArray *pArray; pArray = b; emlrtCallMATLABR2012b(emlrtRootTLSGlobal, 0, NULL, 1, &pArray, "warning", TRUE, location); } /* End of code generation (Select_Ground_Motions_mexutil.c) */