static void c8_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c8_mxArrayInData, const char_T *c8_varName, void *c8_outData)
{
  const mxArray *c8_b_FT_k_1;
  const char_T *c8_identifier;
  emlrtMsgIdentifier c8_thisId;
  real_T c8_y[36];
  int32_T c8_i17;
  int32_T c8_i18;
  int32_T c8_i19;
  SFc8_NavigationObserver_2InstanceStruct *chartInstance;
  chartInstance = (SFc8_NavigationObserver_2InstanceStruct *)chartInstanceVoid;
  c8_b_FT_k_1 = sf_mex_dup(c8_mxArrayInData);
  c8_identifier = c8_varName;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_b_FT_k_1), &c8_thisId, c8_y);
  sf_mex_destroy(&c8_b_FT_k_1);
  c8_i17 = 0;
  for (c8_i18 = 0; c8_i18 < 6; c8_i18++) {
    for (c8_i19 = 0; c8_i19 < 6; c8_i19++) {
      (*(real_T (*)[36])c8_outData)[c8_i19 + c8_i17] = c8_y[c8_i19 + c8_i17];
    }

    c8_i17 += 6;
  }

  sf_mex_destroy(&c8_mxArrayInData);
}
static void c8_emlrt_marshallIn(SFc8_NavigationObserver_2InstanceStruct
  *chartInstance, const mxArray *c8_b_FT_k_1, const char_T *c8_identifier,
  real_T c8_y[36])
{
  emlrtMsgIdentifier c8_thisId;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_b_FT_k_1), &c8_thisId, c8_y);
  sf_mex_destroy(&c8_b_FT_k_1);
}
static real_T c8_emlrt_marshallIn(SFc8_AtomicGloveBradImitateSmileInstanceStruct
  *chartInstance, const mxArray *c8_y, const char_T *c8_identifier)
{
  real_T c8_b_y;
  emlrtMsgIdentifier c8_thisId;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_b_y = c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_y), &c8_thisId);
  sf_mex_destroy(&c8_y);
  return c8_b_y;
}
static real_T c8_emlrt_marshallIn(SFc8_WorkstationModelInstanceStruct
  *chartInstance, const mxArray *c8_QueueRoute, const char_T *c8_identifier)
{
  real_T c8_y;
  emlrtMsgIdentifier c8_thisId;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_y = c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_QueueRoute),
    &c8_thisId);
  sf_mex_destroy(&c8_QueueRoute);
  return c8_y;
}
static c8_irp_vec3 c8_emlrt_marshallIn
  (SFc8_AllPurposeModel_TyreRelaxationInstanceStruct *chartInstance, const
   mxArray *c8_b_derpos_irp3, const char_T *c8_identifier)
{
  c8_irp_vec3 c8_y;
  emlrtMsgIdentifier c8_thisId;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_y = c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_b_derpos_irp3),
    &c8_thisId);
  sf_mex_destroy(&c8_b_derpos_irp3);
  return c8_y;
}
static void c8_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c8_mxArrayInData, const char_T *c8_varName, void *c8_outData)
{
  const mxArray *c8_QueueRoute;
  const char_T *c8_identifier;
  emlrtMsgIdentifier c8_thisId;
  real_T c8_y;
  SFc8_WorkstationModelInstanceStruct *chartInstance;
  chartInstance = (SFc8_WorkstationModelInstanceStruct *)chartInstanceVoid;
  c8_QueueRoute = sf_mex_dup(c8_mxArrayInData);
  c8_identifier = c8_varName;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_y = c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_QueueRoute),
    &c8_thisId);
  sf_mex_destroy(&c8_QueueRoute);
  *(real_T *)c8_outData = c8_y;
  sf_mex_destroy(&c8_mxArrayInData);
}
static void c8_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c8_mxArrayInData, const char_T *c8_varName, void *c8_outData)
{
  const mxArray *c8_y;
  const char_T *c8_identifier;
  emlrtMsgIdentifier c8_thisId;
  real_T c8_b_y;
  SFc8_AtomicGloveBradImitateSmileInstanceStruct *chartInstance;
  chartInstance = (SFc8_AtomicGloveBradImitateSmileInstanceStruct *)
    chartInstanceVoid;
  c8_y = sf_mex_dup(c8_mxArrayInData);
  c8_identifier = c8_varName;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_b_y = c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_y), &c8_thisId);
  sf_mex_destroy(&c8_y);
  *(real_T *)c8_outData = c8_b_y;
  sf_mex_destroy(&c8_mxArrayInData);
}
static void c8_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c8_mxArrayInData, const char_T *c8_varName, void *c8_outData)
{
  const mxArray *c8_b_derpos_irp3;
  const char_T *c8_identifier;
  emlrtMsgIdentifier c8_thisId;
  c8_irp_vec3 c8_y;
  SFc8_AllPurposeModel_TyreRelaxationInstanceStruct *chartInstance;
  chartInstance = (SFc8_AllPurposeModel_TyreRelaxationInstanceStruct *)
    chartInstanceVoid;
  c8_b_derpos_irp3 = sf_mex_dup(c8_mxArrayInData);
  c8_identifier = c8_varName;
  c8_thisId.fIdentifier = c8_identifier;
  c8_thisId.fParent = NULL;
  c8_y = c8_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c8_b_derpos_irp3),
    &c8_thisId);
  sf_mex_destroy(&c8_b_derpos_irp3);
  *(c8_irp_vec3 *)c8_outData = c8_y;
  sf_mex_destroy(&c8_mxArrayInData);
}