static void c17_b_sf_marshallIn(void *chartInstanceVoid, const mxArray *c17_mxArrayInData, const char_T *c17_varName, void *c17_outData) { const mxArray *c17_b_sfEvent; const char_T *c17_identifier; emlrtMsgIdentifier c17_thisId; int32_T c17_y; SFc17_HIL_model_errorInstanceStruct *chartInstance; chartInstance = (SFc17_HIL_model_errorInstanceStruct *)chartInstanceVoid; c17_b_sfEvent = sf_mex_dup(c17_mxArrayInData); c17_identifier = c17_varName; c17_thisId.fIdentifier = c17_identifier; c17_thisId.fParent = NULL; c17_y = c17_c_emlrt_marshallIn(chartInstance, sf_mex_dup(c17_b_sfEvent), &c17_thisId); sf_mex_destroy(&c17_b_sfEvent); *(int32_T *)c17_outData = c17_y; sf_mex_destroy(&c17_mxArrayInData); }
static void c17_b_sf_marshallIn(void *chartInstanceVoid, const mxArray *c17_mxArrayInData, const char_T *c17_varName, void *c17_outData) { const mxArray *c17_nargout; const char_T *c17_identifier; emlrtMsgIdentifier c17_thisId; real_T c17_y; SFc17_ManipulatorME4901InstanceStruct *chartInstance; chartInstance = (SFc17_ManipulatorME4901InstanceStruct *)chartInstanceVoid; c17_nargout = sf_mex_dup(c17_mxArrayInData); c17_identifier = c17_varName; c17_thisId.fIdentifier = c17_identifier; c17_thisId.fParent = NULL; c17_y = c17_c_emlrt_marshallIn(chartInstance, sf_mex_dup(c17_nargout), &c17_thisId); sf_mex_destroy(&c17_nargout); *(real_T *)c17_outData = c17_y; sf_mex_destroy(&c17_mxArrayInData); }