static void set_sim_state_c24_CusakisME4901arcs2
  (SFc24_CusakisME4901arcs2InstanceStruct *chartInstance, const mxArray *c24_st)
{
  const mxArray *c24_u;
  real_T *c24_y;
  c24_y = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c24_doneDoubleBufferReInit = TRUE;
  c24_u = sf_mex_dup(c24_st);
  *c24_y = c24_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c24_u,
    0)), "y");
  chartInstance->c24_is_active_c24_CusakisME4901arcs2 = c24_d_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c24_u, 1)),
     "is_active_c24_CusakisME4901arcs2");
  sf_mex_destroy(&c24_u);
  c24_update_debugger_state_c24_CusakisME4901arcs2(chartInstance);
  sf_mex_destroy(&c24_st);
}
static void set_sim_state_c24_ArregloSeisPorSeis
  (SFc24_ArregloSeisPorSeisInstanceStruct *chartInstance, const mxArray *c24_st)
{
  const mxArray *c24_u;
  real_T *c24_I;
  c24_I = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c24_doneDoubleBufferReInit = TRUE;
  c24_u = sf_mex_dup(c24_st);
  *c24_I = c24_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c24_u,
    0)), "I");
  chartInstance->c24_is_active_c24_ArregloSeisPorSeis = c24_d_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c24_u, 1)),
     "is_active_c24_ArregloSeisPorSeis");
  sf_mex_destroy(&c24_u);
  c24_update_debugger_state_c24_ArregloSeisPorSeis(chartInstance);
  sf_mex_destroy(&c24_st);
}
static void set_sim_state_c24_ARP_02_RPSs_Bdr_GK_BIS7
  (SFc24_ARP_02_RPSs_Bdr_GK_BIS7InstanceStruct *chartInstance, const mxArray
   *c24_st)
{
  const mxArray *c24_u;
  real_T *c24_y;
  c24_y = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c24_doneDoubleBufferReInit = true;
  c24_u = sf_mex_dup(c24_st);
  *c24_y = c24_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c24_u,
    0)), "y");
  chartInstance->c24_is_active_c24_ARP_02_RPSs_Bdr_GK_BIS7 =
    c24_d_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c24_u, 1)),
    "is_active_c24_ARP_02_RPSs_Bdr_GK_BIS7");
  sf_mex_destroy(&c24_u);
  c24_update_debugger_state_c24_ARP_02_RPSs_Bdr_GK_BIS7(chartInstance);
  sf_mex_destroy(&c24_st);
}