static uint8_T c13_d_emlrt_marshallIn
  (SFc13_ARP_02_RPSs_Bdr_GK_BIS5InstanceStruct *chartInstance, const mxArray
   *c13_b_is_active_c13_ARP_02_RPSs_Bdr_GK_BIS5, const char_T *c13_identifier)
{
  uint8_T c13_y;
  emlrtMsgIdentifier c13_thisId;
  c13_thisId.fIdentifier = c13_identifier;
  c13_thisId.fParent = NULL;
  c13_y = c13_e_emlrt_marshallIn(chartInstance, sf_mex_dup
    (c13_b_is_active_c13_ARP_02_RPSs_Bdr_GK_BIS5), &c13_thisId);
  sf_mex_destroy(&c13_b_is_active_c13_ARP_02_RPSs_Bdr_GK_BIS5);
  return c13_y;
}
Example #2
0
static uint8_T c13_d_emlrt_marshallIn(SFc13_DemoSmile_KSInstanceStruct
  *chartInstance, const mxArray *c13_b_is_active_c13_DemoSmile_KS, const char_T *
  c13_identifier)
{
  uint8_T c13_y;
  emlrtMsgIdentifier c13_thisId;
  c13_thisId.fIdentifier = c13_identifier;
  c13_thisId.fParent = NULL;
  c13_y = c13_e_emlrt_marshallIn(chartInstance, sf_mex_dup
    (c13_b_is_active_c13_DemoSmile_KS), &c13_thisId);
  sf_mex_destroy(&c13_b_is_active_c13_DemoSmile_KS);
  return c13_y;
}
Example #3
0
static void set_sim_state_c13_Expriment_Gaze(SFc13_Expriment_GazeInstanceStruct *
  chartInstance, const mxArray *c13_st)
{
  const mxArray *c13_u;
  real_T *c13_a2;
  c13_a2 = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c13_doneDoubleBufferReInit = true;
  c13_u = sf_mex_dup(c13_st);
  *c13_a2 = c13_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c13_u,
    0)), "a2");
  chartInstance->c13_is_active_c13_Expriment_Gaze = c13_e_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c13_u, 1)),
     "is_active_c13_Expriment_Gaze");
  sf_mex_destroy(&c13_u);
  c13_update_debugger_state_c13_Expriment_Gaze(chartInstance);
  sf_mex_destroy(&c13_st);
}
static void set_sim_state_c13_BoatLibraryTest02
  (SFc13_BoatLibraryTest02InstanceStruct *chartInstance, const mxArray *c13_st)
{
  const mxArray *c13_u;
  real_T c13_dv0[3];
  int32_T c13_i1;
  real_T (*c13_y)[3];
  c13_y = (real_T (*)[3])ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c13_doneDoubleBufferReInit = TRUE;
  c13_u = sf_mex_dup(c13_st);
  c13_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c13_u, 0)), "y",
                       c13_dv0);
  for (c13_i1 = 0; c13_i1 < 3; c13_i1++) {
    (*c13_y)[c13_i1] = c13_dv0[c13_i1];
  }

  chartInstance->c13_is_active_c13_BoatLibraryTest02 = c13_e_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c13_u, 1)),
     "is_active_c13_BoatLibraryTest02");
  sf_mex_destroy(&c13_u);
  c13_update_debugger_state_c13_BoatLibraryTest02(chartInstance);
  sf_mex_destroy(&c13_st);
}