static real_T s_fprintf(const emlrtStack *sp, int16_T varargin_1, real_T varargin_2) { const mxArray *y; static const int32_T iv142[2] = { 1, 7 }; const mxArray *m35; char_T cv180[7]; int32_T i; static const char_T cv181[7] = { 'f', 'p', 'r', 'i', 'n', 't', 'f' }; const mxArray *b_y; const mxArray *c_y; static const int32_T iv143[2] = { 1, 43 }; char_T cv182[43]; static const char_T cv183[43] = { 'T', 'r', 'a', 'n', 's', 'm', 'i', 't', 't', 'i', 'n', 'g', ' ', 't', 'o', ' ', 'n', 'o', 'd', 'e', ':', ' ', '%', 'd', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o', 'f', 'f', 's', 'e', 't', ':', ' ', '%', 'f', '\\', 'n' }; const mxArray *d_y; const mxArray *e_y; emlrtStack st; st.prev = sp; st.tls = sp->tls; y = NULL; m35 = mxCreateCharArray(2, iv142); for (i = 0; i < 7; i++) { cv180[i] = cv181[i]; } emlrtInitCharArrayR2013a(sp, 7, m35, cv180); emlrtAssign(&y, m35); b_y = NULL; m35 = mxCreateDoubleScalar(1.0); emlrtAssign(&b_y, m35); c_y = NULL; m35 = mxCreateCharArray(2, iv143); for (i = 0; i < 43; i++) { cv182[i] = cv183[i]; } emlrtInitCharArrayR2013a(sp, 43, m35, cv182); emlrtAssign(&c_y, m35); d_y = NULL; m35 = mxCreateNumericMatrix(1, 1, mxINT16_CLASS, mxREAL); *(int16_T *)mxGetData(m35) = varargin_1; emlrtAssign(&d_y, m35); e_y = NULL; m35 = mxCreateDoubleScalar(varargin_2); emlrtAssign(&e_y, m35); st.site = &ew_emlrtRSI; return c_emlrt_marshallIn(&st, c_feval(&st, y, b_y, c_y, d_y, e_y, &n_emlrtMCI), "feval"); }
void c_warning(const emlrtStack *sp, const char_T varargin_1_data[], const int32_T varargin_1_size[2]) { int32_T i21; static const char_T cv22[7] = { 'w', 'a', 'r', 'n', 'i', 'n', 'g' }; char_T u[7]; const mxArray *y; static const int32_T iv15[2] = { 1, 7 }; const mxArray *m8; static const char_T cv23[7] = { 'm', 'e', 's', 's', 'a', 'g', 'e' }; char_T b_u[7]; const mxArray *b_y; static const int32_T iv16[2] = { 1, 7 }; static const char_T msgID[31] = { 's', 'd', 'r', 'u', ':', 'S', 'D', 'R', 'u', 'B', 'a', 's', 'e', ':', 'D', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'P', 'r', 'o', 'b', 'l', 'e', 'm' }; char_T c_u[31]; const mxArray *c_y; static const int32_T iv17[2] = { 1, 31 }; int32_T u_size[2]; int32_T loop_ub; char_T u_data[1024]; const mxArray *d_y; emlrtStack st; st.prev = sp; st.tls = sp->tls; for (i21 = 0; i21 < 7; i21++) { u[i21] = cv22[i21]; } y = NULL; m8 = emlrtCreateCharArray(2, iv15); emlrtInitCharArrayR2013a(sp, 7, m8, &u[0]); emlrtAssign(&y, m8); for (i21 = 0; i21 < 7; i21++) { b_u[i21] = cv23[i21]; } b_y = NULL; m8 = emlrtCreateCharArray(2, iv16); emlrtInitCharArrayR2013a(sp, 7, m8, &b_u[0]); emlrtAssign(&b_y, m8); for (i21 = 0; i21 < 31; i21++) { c_u[i21] = msgID[i21]; } c_y = NULL; m8 = emlrtCreateCharArray(2, iv17); emlrtInitCharArrayR2013a(sp, 31, m8, &c_u[0]); emlrtAssign(&c_y, m8); u_size[0] = 1; u_size[1] = varargin_1_size[1]; loop_ub = varargin_1_size[0] * varargin_1_size[1]; for (i21 = 0; i21 < loop_ub; i21++) { u_data[i21] = varargin_1_data[i21]; } d_y = NULL; m8 = emlrtCreateCharArray(2, u_size); emlrtInitCharArrayR2013a(sp, u_size[1], m8, &u_data[0]); emlrtAssign(&d_y, m8); st.site = &fb_emlrtRSI; b_feval(&st, y, c_feval(&st, b_y, c_y, d_y, &emlrtMCI), &b_emlrtMCI); }