static void set_sim_state_c1_QPSK_Transmit_v5_w_FIFO (SFc1_QPSK_Transmit_v5_w_FIFOInstanceStruct *chartInstance, const mxArray *c1_st) { const mxArray *c1_u; creal_T c1_dcv0[17]; int32_T c1_i1; creal_T *c1_d_out; c1_d_out = (creal_T *)ssGetOutputPortSignal(chartInstance->S, 1); chartInstance->c1_doneDoubleBufferReInit = TRUE; c1_u = sf_mex_dup(c1_st); *c1_d_out = c1_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell (c1_u, 0)), "d_out"); c1_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c1_u, 1)), "buf", c1_dcv0); for (c1_i1 = 0; c1_i1 < 17; c1_i1++) { chartInstance->c1_buf[c1_i1] = c1_dcv0[c1_i1]; } chartInstance->c1_is_active_c1_QPSK_Transmit_v5_w_FIFO = c1_h_emlrt_marshallIn (chartInstance, sf_mex_dup(sf_mex_getcell(c1_u, 2)), "is_active_c1_QPSK_Transmit_v5_w_FIFO"); sf_mex_destroy(&c1_u); c1_update_debugger_state_c1_QPSK_Transmit_v5_w_FIFO(chartInstance); sf_mex_destroy(&c1_st); }
static void c1_g_emlrt_marshallIn (SFc1_Engine_Vehicle_CVT_RS_System2InstanceStruct *chartInstance, const mxArray *c1_b_dataWrittenToVector, const char_T *c1_identifier, boolean_T c1_y[1]) { emlrtMsgIdentifier c1_thisId; c1_thisId.fIdentifier = c1_identifier; c1_thisId.fParent = NULL; c1_h_emlrt_marshallIn(chartInstance, sf_mex_dup(c1_b_dataWrittenToVector), &c1_thisId, c1_y); sf_mex_destroy(&c1_b_dataWrittenToVector); }
static uint8_T c1_g_emlrt_marshallIn(SFc1_my_demo_refInstanceStruct *chartInstance, const mxArray *c1_b_is_active_c1_my_demo_ref, const char_T *c1_identifier) { uint8_T c1_y; emlrtMsgIdentifier c1_thisId; c1_thisId.fIdentifier = c1_identifier; c1_thisId.fParent = NULL; c1_y = c1_h_emlrt_marshallIn(chartInstance, sf_mex_dup (c1_b_is_active_c1_my_demo_ref), &c1_thisId); sf_mex_destroy(&c1_b_is_active_c1_my_demo_ref); return c1_y; }