static void c39_sf_marshallIn(void *chartInstanceVoid, const mxArray *c39_mxArrayInData, const char_T *c39_varName, void *c39_outData) { const mxArray *c39_K_p; const char_T *c39_identifier; emlrtMsgIdentifier c39_thisId; real_T c39_y[9]; int32_T c39_i15; int32_T c39_i16; int32_T c39_i17; SFc39_CSE1_Oculus_gestureInstanceStruct *chartInstance; chartInstance = (SFc39_CSE1_Oculus_gestureInstanceStruct *)chartInstanceVoid; c39_K_p = sf_mex_dup(c39_mxArrayInData); c39_identifier = c39_varName; c39_thisId.fIdentifier = c39_identifier; c39_thisId.fParent = NULL; c39_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c39_K_p), &c39_thisId, c39_y); sf_mex_destroy(&c39_K_p); c39_i15 = 0; for (c39_i16 = 0; c39_i16 < 3; c39_i16++) { for (c39_i17 = 0; c39_i17 < 3; c39_i17++) { (*(real_T (*)[9])c39_outData)[c39_i17 + c39_i15] = c39_y[c39_i17 + c39_i15]; } c39_i15 += 3; } sf_mex_destroy(&c39_mxArrayInData); }
static void c39_emlrt_marshallIn(SFc39_CSE1_Oculus_gestureInstanceStruct *chartInstance, const mxArray *c39_K_p, const char_T *c39_identifier, real_T c39_y[9]) { emlrtMsgIdentifier c39_thisId; c39_thisId.fIdentifier = c39_identifier; c39_thisId.fParent = NULL; c39_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c39_K_p), &c39_thisId, c39_y); sf_mex_destroy(&c39_K_p); }
static real_T c39_emlrt_marshallIn(SFc39_Demo_KinectWaveWalkInvadeInstanceStruct *chartInstance, const mxArray *c39_e, const char_T *c39_identifier) { real_T c39_y; emlrtMsgIdentifier c39_thisId; c39_thisId.fIdentifier = c39_identifier; c39_thisId.fParent = NULL; c39_y = c39_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c39_e), &c39_thisId); sf_mex_destroy(&c39_e); return c39_y; }
static void c39_sf_marshallIn(void *chartInstanceVoid, const mxArray *c39_mxArrayInData, const char_T *c39_varName, void *c39_outData) { const mxArray *c39_e; const char_T *c39_identifier; emlrtMsgIdentifier c39_thisId; real_T c39_y; SFc39_old_Demo_RPSInstanceStruct *chartInstance; chartInstance = (SFc39_old_Demo_RPSInstanceStruct *)chartInstanceVoid; c39_e = sf_mex_dup(c39_mxArrayInData); c39_identifier = c39_varName; c39_thisId.fIdentifier = c39_identifier; c39_thisId.fParent = NULL; c39_y = c39_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c39_e), &c39_thisId); sf_mex_destroy(&c39_e); *(real_T *)c39_outData = c39_y; sf_mex_destroy(&c39_mxArrayInData); }