static void c11_c_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c11_mxArrayInData, const char_T *c11_varName, void *c11_outData)
{
  const mxArray *c11_x4;
  const char_T *c11_identifier;
  emlrtMsgIdentifier c11_thisId;
  uint16_T c11_y;
  SFc11_Batman_CodeInstanceStruct *chartInstance;
  chartInstance = (SFc11_Batman_CodeInstanceStruct *)chartInstanceVoid;
  c11_x4 = sf_mex_dup(c11_mxArrayInData);
  c11_identifier = c11_varName;
  c11_thisId.fIdentifier = c11_identifier;
  c11_thisId.fParent = NULL;
  c11_y = c11_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c11_x4), &c11_thisId);
  sf_mex_destroy(&c11_x4);
  *(uint16_T *)c11_outData = c11_y;
  sf_mex_destroy(&c11_mxArrayInData);
}
Esempio n. 2
0
static void c11_c_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c11_mxArrayInData, const char_T *c11_varName, void *c11_outData)
{
  const mxArray *c11_b_sfEvent;
  const char_T *c11_identifier;
  emlrtMsgIdentifier c11_thisId;
  int32_T c11_y;
  SFc11_kinematicsInstanceStruct *chartInstance;
  chartInstance = (SFc11_kinematicsInstanceStruct *)chartInstanceVoid;
  c11_b_sfEvent = sf_mex_dup(c11_mxArrayInData);
  c11_identifier = c11_varName;
  c11_thisId.fIdentifier = c11_identifier;
  c11_thisId.fParent = NULL;
  c11_y = c11_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c11_b_sfEvent),
    &c11_thisId);
  sf_mex_destroy(&c11_b_sfEvent);
  *(int32_T *)c11_outData = c11_y;
  sf_mex_destroy(&c11_mxArrayInData);
}