static void c2_c_sf_marshallIn(void *chartInstanceVoid, const mxArray *c2_mxArrayInData, const char_T *c2_varName, void *c2_outData) { const mxArray *c2_Mt; const char_T *c2_identifier; emlrtMsgIdentifier c2_thisId; real_T c2_y[9]; int32_T c2_i29; int32_T c2_i30; int32_T c2_i31; SFc2_gesamtmodellInstanceStruct *chartInstance; chartInstance = (SFc2_gesamtmodellInstanceStruct *)chartInstanceVoid; c2_Mt = sf_mex_dup(c2_mxArrayInData); c2_identifier = c2_varName; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_Mt), &c2_thisId, c2_y); sf_mex_destroy(&c2_Mt); c2_i29 = 0; for (c2_i30 = 0; c2_i30 < 3; c2_i30++) { for (c2_i31 = 0; c2_i31 < 3; c2_i31++) { (*(real_T (*)[9])c2_outData)[c2_i31 + c2_i29] = c2_y[c2_i31 + c2_i29]; } c2_i29 += 3; } sf_mex_destroy(&c2_mxArrayInData); }
static void c2_c_emlrt_marshallIn(SFc2_SerialInstanceStruct *chartInstance, const mxArray *c2_data, const char_T *c2_identifier, uint8_T c2_y[256]) { emlrtMsgIdentifier c2_thisId; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_data), &c2_thisId, c2_y); sf_mex_destroy(&c2_data); }
static real_T c2_c_emlrt_marshallIn(SFc2_mdl5InstanceStruct *chartInstance, const mxArray *c2_idx, const char_T *c2_identifier) { real_T c2_y; emlrtMsgIdentifier c2_thisId; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_y = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_idx), &c2_thisId); sf_mex_destroy(&c2_idx); return c2_y; }
static uint8_T c2_c_emlrt_marshallIn(SFc2_untitled1InstanceStruct *chartInstance, const mxArray *c2_b_is_active_c2_untitled1, const char_T *c2_identifier) { uint8_T c2_y; emlrtMsgIdentifier c2_thisId; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_y = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup (c2_b_is_active_c2_untitled1), &c2_thisId); sf_mex_destroy(&c2_b_is_active_c2_untitled1); return c2_y; }
static const mxArray *c2_c_emlrt_marshallIn (SFc2_newtons_cradle_inelasticInstanceStruct *chartInstance, const mxArray *c2_b_setSimStateSideEffectsInfo, const char_T *c2_identifier) { const mxArray *c2_y = NULL; emlrtMsgIdentifier c2_thisId; c2_y = NULL; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; sf_mex_assign(&c2_y, c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup (c2_b_setSimStateSideEffectsInfo), &c2_thisId), FALSE); sf_mex_destroy(&c2_b_setSimStateSideEffectsInfo); return c2_y; }
static uint8_T c2_c_emlrt_marshallIn (SFc2_ARP_02_RPSsmile_WirelessGloveSHOREInstanceStruct *chartInstance, const mxArray *c2_b_is_active_c2_ARP_02_RPSsmile_WirelessGloveSHORE, const char_T *c2_identifier) { uint8_T c2_y; emlrtMsgIdentifier c2_thisId; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_y = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup (c2_b_is_active_c2_ARP_02_RPSsmile_WirelessGloveSHORE), &c2_thisId); sf_mex_destroy(&c2_b_is_active_c2_ARP_02_RPSsmile_WirelessGloveSHORE); return c2_y; }
static void set_sim_state_c2_DYNctl_ver4_etud_nonlineaire (SFc2_DYNctl_ver4_etud_nonlineaireInstanceStruct *chartInstance, const mxArray *c2_st) { const mxArray *c2_u; chartInstance->c2_doneDoubleBufferReInit = true; c2_u = sf_mex_dup(c2_st); *chartInstance->c2_f = c2_emlrt_marshallIn(chartInstance, sf_mex_dup (sf_mex_getcell(c2_u, 0)), "f"); chartInstance->c2_is_active_c2_DYNctl_ver4_etud_nonlineaire = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 1)), "is_active_c2_DYNctl_ver4_etud_nonlineaire"); sf_mex_destroy(&c2_u); c2_update_debugger_state_c2_DYNctl_ver4_etud_nonlineaire(chartInstance); sf_mex_destroy(&c2_st); }
static void set_sim_state_c2_dsm_demo(SFc2_dsm_demoInstanceStruct *chartInstance, const mxArray *c2_st) { const mxArray *c2_u; real_T *c2_y; c2_y = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1); chartInstance->c2_doneDoubleBufferReInit = TRUE; c2_u = sf_mex_dup(c2_st); *c2_y = c2_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 0)), "y"); chartInstance->c2_is_active_c2_dsm_demo = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 1)), "is_active_c2_dsm_demo"); sf_mex_destroy(&c2_u); c2_update_debugger_state_c2_dsm_demo(chartInstance); sf_mex_destroy(&c2_st); }
static void c2_b_sf_marshallIn(void *chartInstanceVoid, const mxArray *c2_mxArrayInData, const char_T *c2_varName, void *c2_outData) { const mxArray *c2_idx; const char_T *c2_identifier; emlrtMsgIdentifier c2_thisId; real_T c2_y; SFc2_mdl5InstanceStruct *chartInstance; chartInstance = (SFc2_mdl5InstanceStruct *)chartInstanceVoid; c2_idx = sf_mex_dup(c2_mxArrayInData); c2_identifier = c2_varName; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_y = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_idx), &c2_thisId); sf_mex_destroy(&c2_idx); *(real_T *)c2_outData = c2_y; sf_mex_destroy(&c2_mxArrayInData); }
static void c2_c_sf_marshallIn(void *chartInstanceVoid, const mxArray *c2_mxArrayInData, const char_T *c2_varName, void *c2_outData) { const mxArray *c2_x4; const char_T *c2_identifier; emlrtMsgIdentifier c2_thisId; uint16_T c2_y; SFc2_Batman_CodeInstanceStruct *chartInstance; chartInstance = (SFc2_Batman_CodeInstanceStruct *)chartInstanceVoid; c2_x4 = sf_mex_dup(c2_mxArrayInData); c2_identifier = c2_varName; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_y = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_x4), &c2_thisId); sf_mex_destroy(&c2_x4); *(uint16_T *)c2_outData = c2_y; sf_mex_destroy(&c2_mxArrayInData); }
static void set_sim_state_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear (SFc2_MigrationOWBG_Proto4_1DLinear2DNonLinearInstanceStruct *chartInstance, const mxArray *c2_st) { const mxArray *c2_u; real_T *c2_z; c2_z = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1); chartInstance->c2_doneDoubleBufferReInit = TRUE; c2_u = sf_mex_dup(c2_st); *c2_z = c2_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 0)), "z"); chartInstance->c2_is_active_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 1)), "is_active_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear"); sf_mex_destroy(&c2_u); c2_update_debugger_state_c2_MigrationOWBG_Proto4_1DLinear2DNonLi(chartInstance); sf_mex_destroy(&c2_st); }
static void c2_c_sf_marshallIn(void *chartInstanceVoid, const mxArray *c2_mxArrayInData, const char_T *c2_varName, void *c2_outData) { const mxArray *c2_b_sfEvent; const char_T *c2_identifier; emlrtMsgIdentifier c2_thisId; int32_T c2_y; SFc2_hapticsSimBlk_pdInstanceStruct *chartInstance; chartInstance = (SFc2_hapticsSimBlk_pdInstanceStruct *)chartInstanceVoid; c2_b_sfEvent = sf_mex_dup(c2_mxArrayInData); c2_identifier = c2_varName; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_y = c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_b_sfEvent), &c2_thisId); sf_mex_destroy(&c2_b_sfEvent); *(int32_T *)c2_outData = c2_y; sf_mex_destroy(&c2_mxArrayInData); }
static void set_sim_state_c2_Demo_AU_VA1(SFc2_Demo_AU_VA1InstanceStruct *chartInstance, const mxArray *c2_st) { const mxArray *c2_u; real_T *c2_v_trig; real_T *c2_v_trigW; c2_v_trig = (real_T *)ssGetOutputPortSignal(chartInstance->S, 2); c2_v_trigW = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1); chartInstance->c2_doneDoubleBufferReInit = true; c2_u = sf_mex_dup(c2_st); *c2_v_trig = c2_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 0)), "v_trig"); *c2_v_trigW = c2_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell (c2_u, 1)), "v_trigW"); chartInstance->c2_is_active_c2_Demo_AU_VA1 = c2_d_emlrt_marshallIn (chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 2)), "is_active_c2_Demo_AU_VA1"); sf_mex_destroy(&c2_u); c2_update_debugger_state_c2_Demo_AU_VA1(chartInstance); sf_mex_destroy(&c2_st); }
static void c2_b_sf_marshallIn(void *chartInstanceVoid, const mxArray *c2_mxArrayInData, const char_T *c2_varName, void *c2_outData) { const mxArray *c2_data; const char_T *c2_identifier; emlrtMsgIdentifier c2_thisId; uint8_T c2_y[256]; int32_T c2_i11; SFc2_SerialInstanceStruct *chartInstance; chartInstance = (SFc2_SerialInstanceStruct *)chartInstanceVoid; c2_data = sf_mex_dup(c2_mxArrayInData); c2_identifier = c2_varName; c2_thisId.fIdentifier = c2_identifier; c2_thisId.fParent = NULL; c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(c2_data), &c2_thisId, c2_y); sf_mex_destroy(&c2_data); for (c2_i11 = 0; c2_i11 < 256; c2_i11++) { (*(uint8_T (*)[256])c2_outData)[c2_i11] = c2_y[c2_i11]; } sf_mex_destroy(&c2_mxArrayInData); }
static void set_sim_state_c2_kinematics(SFc2_kinematicsInstanceStruct *chartInstance, const mxArray *c2_st) { const mxArray *c2_u; real_T c2_dv0[72]; int32_T c2_i1; real_T (*c2_Jacobian_body)[72]; c2_Jacobian_body = (real_T (*)[72])ssGetOutputPortSignal(chartInstance->S, 1); chartInstance->c2_doneDoubleBufferReInit = TRUE; c2_u = sf_mex_dup(c2_st); c2_d_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 0)), "Jacobian_body", c2_dv0); for (c2_i1 = 0; c2_i1 < 72; c2_i1++) { (*c2_Jacobian_body)[c2_i1] = c2_dv0[c2_i1]; } chartInstance->c2_is_active_c2_kinematics = c2_g_emlrt_marshallIn (chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 1)), "is_active_c2_kinematics"); sf_mex_destroy(&c2_u); c2_update_debugger_state_c2_kinematics(chartInstance); sf_mex_destroy(&c2_st); }
static void sf_c2_kinematics(SFc2_kinematicsInstanceStruct *chartInstance) { int32_T c2_i2; int32_T c2_i3; int32_T c2_i4; real_T c2_q[6]; uint32_T c2_debug_family_var_map[5]; real_T c2_newq[6]; int32_T c2_newq_sizes[2]; real_T c2_newq_data[6]; real_T c2_nargin = 1.0; real_T c2_nargout = 1.0; real_T c2_Jacobian_body[72]; int32_T c2_i5; int32_T c2_i6; int32_T c2_b_newq; int32_T c2_c_newq; int32_T c2_i7; int32_T c2_u_sizes[2]; int32_T c2_u; int32_T c2_b_u; int32_T c2_loop_ub; int32_T c2_i8; real_T c2_u_data[6]; const mxArray *c2_y = NULL; real_T c2_dv1[72]; int32_T c2_i9; int32_T c2_i10; real_T (*c2_b_Jacobian_body)[72]; real_T (*c2_b_q)[6]; c2_b_Jacobian_body = (real_T (*)[72])ssGetOutputPortSignal(chartInstance->S, 1); c2_b_q = (real_T (*)[6])ssGetInputPortSignal(chartInstance->S, 0); _sfTime_ = (real_T)ssGetT(chartInstance->S); _SFD_CC_CALL(CHART_ENTER_SFUNCTION_TAG, 1U, chartInstance->c2_sfEvent); for (c2_i2 = 0; c2_i2 < 6; c2_i2++) { _SFD_DATA_RANGE_CHECK((*c2_b_q)[c2_i2], 0U); } for (c2_i3 = 0; c2_i3 < 72; c2_i3++) { _SFD_DATA_RANGE_CHECK((*c2_b_Jacobian_body)[c2_i3], 1U); } chartInstance->c2_sfEvent = CALL_EVENT; _SFD_CC_CALL(CHART_ENTER_DURING_FUNCTION_TAG, 1U, chartInstance->c2_sfEvent); for (c2_i4 = 0; c2_i4 < 6; c2_i4++) { c2_q[c2_i4] = (*c2_b_q)[c2_i4]; } sf_debug_symbol_scope_push_eml(0U, 5U, 6U, c2_debug_family_names, c2_debug_family_var_map); sf_debug_symbol_scope_add_eml_importable(c2_newq, MAX_uint32_T, c2_e_sf_marshallOut, c2_d_sf_marshallIn); sf_debug_symbol_scope_add_eml_dyn_importable(c2_newq_data, (const int32_T *) &c2_newq_sizes, NULL, 0, -1, (void *)c2_d_sf_marshallOut, (void *) c2_c_sf_marshallIn); sf_debug_symbol_scope_add_eml_importable(&c2_nargin, 1U, c2_c_sf_marshallOut, c2_b_sf_marshallIn); sf_debug_symbol_scope_add_eml_importable(&c2_nargout, 2U, c2_c_sf_marshallOut, c2_b_sf_marshallIn); sf_debug_symbol_scope_add_eml(c2_q, 3U, c2_b_sf_marshallOut); sf_debug_symbol_scope_add_eml_importable(c2_Jacobian_body, 4U, c2_sf_marshallOut, c2_sf_marshallIn); CV_EML_FCN(0, 0); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 4); for (c2_i5 = 0; c2_i5 < 72; c2_i5++) { c2_Jacobian_body[c2_i5] = 0.0; } _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 5); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 6); for (c2_i6 = 0; c2_i6 < 6; c2_i6++) { c2_newq[c2_i6] = 0.0; } sf_debug_symbol_switch(0U, 0U); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 7); c2_newq_sizes[0] = 6; c2_newq_sizes[1] = 1; c2_b_newq = c2_newq_sizes[0]; c2_c_newq = c2_newq_sizes[1]; for (c2_i7 = 0; c2_i7 < 6; c2_i7++) { c2_newq_data[c2_i7] = c2_q[c2_i7]; } sf_debug_symbol_switch(0U, 1U); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 8); c2_u_sizes[0] = 6; c2_u_sizes[1] = 1; c2_u = c2_u_sizes[0]; c2_b_u = c2_u_sizes[1]; c2_loop_ub = c2_newq_sizes[0] * c2_newq_sizes[1] - 1; for (c2_i8 = 0; c2_i8 <= c2_loop_ub; c2_i8++) { c2_u_data[c2_i8] = c2_newq_data[c2_i8]; } c2_y = NULL; sf_mex_assign(&c2_y, sf_mex_create("y", c2_u_data, 0, 0U, 1U, 0U, 2, c2_u_sizes[0], c2_u_sizes[1]), FALSE); c2_d_emlrt_marshallIn(chartInstance, sf_mex_call_debug("body_jacobian", 1U, 1U, 14, c2_y), "body_jacobian", c2_dv1); for (c2_i9 = 0; c2_i9 < 72; c2_i9++) { c2_Jacobian_body[c2_i9] = c2_dv1[c2_i9]; } _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, -8); sf_debug_symbol_scope_pop(); for (c2_i10 = 0; c2_i10 < 72; c2_i10++) { (*c2_b_Jacobian_body)[c2_i10] = c2_Jacobian_body[c2_i10]; } _SFD_CC_CALL(EXIT_OUT_OF_FUNCTION_TAG, 1U, chartInstance->c2_sfEvent); sf_debug_check_for_state_inconsistency(_kinematicsMachineNumber_, chartInstance->chartNumber, chartInstance->instanceNumber); }
static void sf_c2_Leda(SFc2_LedaInstanceStruct *chartInstance) { real_T c2_hoistedGlobal; real_T c2_nota; uint32_T c2_debug_family_var_map[4]; real_T c2_nargin = 1.0; real_T c2_nargout = 0.0; int32_T c2_i2; int32_T c2_i; real_T c2_b_i; real_T c2_u; const mxArray *c2_y = NULL; int32_T c2_i3; static char_T c2_cv0[4] = { '.', 'j', 'p', 'g' }; char_T c2_b_u[4]; const mxArray *c2_b_y = NULL; static real_T c2_dv1[435483]; int32_T c2_c_i; int32_T c2_i4; int32_T c2_i5; int32_T c2_i6; int32_T c2_i7; static real_T c2_b_hoistedGlobal[33096708]; int32_T c2_b_nota; int32_T c2_i8; int32_T c2_i9; int32_T c2_i10; static real_T c2_c_u[435483]; const mxArray *c2_c_y = NULL; real_T *c2_c_nota; c2_c_nota = (real_T *)ssGetInputPortSignal(chartInstance->S, 0); _sfTime_ = (real_T)ssGetT(chartInstance->S); _SFD_CC_CALL(CHART_ENTER_SFUNCTION_TAG, 1U, chartInstance->c2_sfEvent); _SFD_DATA_RANGE_CHECK(*c2_c_nota, 0U); chartInstance->c2_sfEvent = CALL_EVENT; _SFD_CC_CALL(CHART_ENTER_DURING_FUNCTION_TAG, 1U, chartInstance->c2_sfEvent); c2_hoistedGlobal = *c2_c_nota; c2_nota = c2_hoistedGlobal; sf_debug_symbol_scope_push_eml(0U, 4U, 4U, c2_debug_family_names, c2_debug_family_var_map); sf_debug_symbol_scope_add_eml_importable(&c2_nargin, 0U, c2_b_sf_marshallOut, c2_b_sf_marshallIn); sf_debug_symbol_scope_add_eml_importable(&c2_nargout, 1U, c2_b_sf_marshallOut, c2_b_sf_marshallIn); sf_debug_symbol_scope_add_eml(&c2_nota, 2U, c2_b_sf_marshallOut); sf_debug_symbol_scope_add_eml_importable(chartInstance->c2_pent, 3U, c2_sf_marshallOut, c2_sf_marshallIn); CV_EML_FCN(0, 0); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 3); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 4); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 9); if (CV_EML_IF(0, 1, 0, !chartInstance->c2_pent_not_empty)) { _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 10); for (c2_i2 = 0; c2_i2 < 33096708; c2_i2++) { chartInstance->c2_pent[c2_i2] = 0.0; } chartInstance->c2_pent_not_empty = TRUE; c2_i = 0; while (c2_i < 73) { c2_b_i = 4.0 + (real_T)c2_i; CV_EML_FOR(0, 1, 0, 1); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 13); c2_u = c2_b_i; c2_y = NULL; sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 0, 0U, 0U, 0U, 0), FALSE); for (c2_i3 = 0; c2_i3 < 4; c2_i3++) { c2_b_u[c2_i3] = c2_cv0[c2_i3]; } c2_b_y = NULL; sf_mex_assign(&c2_b_y, sf_mex_create("y", c2_b_u, 10, 0U, 1U, 0U, 2, 1, 4), FALSE); c2_d_emlrt_marshallIn(chartInstance, sf_mex_call_debug("imread", 1U, 1U, 14, sf_mex_call_debug("horzcat", 1U, 2U, 14, sf_mex_call_debug("num2str", 1U, 1U, 14, c2_y), 14, c2_b_y)), "imread", c2_dv1); c2_c_i = _SFD_EML_ARRAY_BOUNDS_CHECK("pent", (int32_T)_SFD_INTEGER_CHECK( "i", c2_b_i), 1, 76, 4, 0) - 1; for (c2_i4 = 0; c2_i4 < 3; c2_i4++) { for (c2_i5 = 0; c2_i5 < 381; c2_i5++) { for (c2_i6 = 0; c2_i6 < 381; c2_i6++) { chartInstance->c2_pent[((c2_i6 + 381 * c2_i5) + 145161 * c2_i4) + 435483 * c2_c_i] = c2_dv1[(c2_i6 + 381 * c2_i5) + 145161 * c2_i4]; } } } c2_i++; sf_mex_listen_for_ctrl_c(chartInstance->S); } CV_EML_FOR(0, 1, 0, 0); } _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 19); if (CV_EML_IF(0, 1, 1, c2_nota < 4.0)) { _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 20); c2_nota = 4.0; } _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 22); if (CV_EML_IF(0, 1, 2, c2_nota > 76.0)) { _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 23); c2_nota = 76.0; } _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 26); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 32); for (c2_i7 = 0; c2_i7 < 33096708; c2_i7++) { c2_b_hoistedGlobal[c2_i7] = chartInstance->c2_pent[c2_i7]; } c2_b_nota = _SFD_EML_ARRAY_BOUNDS_CHECK("pent", (int32_T)_SFD_INTEGER_CHECK( "nota", c2_nota), 1, 76, 4, 0) - 1; for (c2_i8 = 0; c2_i8 < 3; c2_i8++) { for (c2_i9 = 0; c2_i9 < 381; c2_i9++) { for (c2_i10 = 0; c2_i10 < 381; c2_i10++) { c2_c_u[(c2_i10 + 381 * c2_i9) + 145161 * c2_i8] = c2_b_hoistedGlobal [((c2_i10 + 381 * c2_i9) + 145161 * c2_i8) + 435483 * c2_b_nota]; } } } c2_c_y = NULL; sf_mex_assign(&c2_c_y, sf_mex_create("y", c2_c_u, 0, 0U, 1U, 0U, 3, 381, 381, 3), FALSE); sf_mex_call_debug("imshow", 0U, 1U, 14, c2_c_y); _SFD_EML_CALL(0U, chartInstance->c2_sfEvent, -32); sf_debug_symbol_scope_pop(); _SFD_CC_CALL(EXIT_OUT_OF_FUNCTION_TAG, 1U, chartInstance->c2_sfEvent); sf_debug_check_for_state_inconsistency(_LedaMachineNumber_, chartInstance->chartNumber, chartInstance->instanceNumber); }