/* * File: BLC.h * * Code generated for Simulink model 'BLC'. * * Model version : 1.50 * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 * C/C++ source code generated on : Thu Sep 9 17:18:08 2021 * * Target selection: ert.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) * Code generation objectives: Unspecified * Validation result: Not run */ #ifndef RTW_HEADER_BLC_h_ #define RTW_HEADER_BLC_h_ #include #ifndef BLC_COMMON_INCLUDES_ #define BLC_COMMON_INCLUDES_ #include "rtwtypes.h" #endif /* BLC_COMMON_INCLUDES_ */ #include "BLC_types.h" /* Includes for objects with custom storage classes. */ #include "BCUCal.h" #include "BCUDisp.h" /* Block signals for model 'BLC' */ #ifndef BLC_MDLREF_HIDE_CHILD_ typedef struct { uint32_T blcv_Q_totalCpEE_Merge[28]; /* '/blcv_Q_totalCpEE_Merge' */ uint16_T blcn_Q_reqCpNow_j[28]; /* '/Chart' */ uint16_T blcv_Q_reqCpEE_Merge[28]; /* '/blcv_Q_reqCpEE_Merge' */ boolean_T blcn_flg_stop[28]; /* '/Chart' */ boolean_T blcn_flg_pause[28]; /* '/Chart' */ boolean_T in; /* '/in' */ } B_BLC_c_T; #endif /*BLC_MDLREF_HIDE_CHILD_*/ /* Block states (default storage) for model 'BLC' */ #ifndef BLC_MDLREF_HIDE_CHILD_ typedef struct { uint32_T blcCap[28]; /* '/Chart' */ uint16_T reqCp_reset_DSTATE[28]; /* '/reqCp_reset' */ uint16_T QL; /* '/Chart1' */ boolean_T UnitDelay1_DSTATE; /* '/Unit Delay1' */ boolean_T UnitDelay1_DSTATE_a; /* '/Unit Delay1' */ uint8_T i_close; /* '/Chart' */ uint8_T i_open; /* '/Chart' */ boolean_T FristFlg; /* '/Chart1' */ boolean_T FristFlg_b; /* '/Chart' */ } DW_BLC_f_T; #endif /*BLC_MDLREF_HIDE_CHILD_*/ #ifndef BLC_MDLREF_HIDE_CHILD_ /* Real-time Model Data Structure */ struct tag_RTM_BLC_T { const char_T **errorStatus; }; #endif /*BLC_MDLREF_HIDE_CHILD_*/ #ifndef BLC_MDLREF_HIDE_CHILD_ typedef struct { RT_MODEL_BLC_T rtm; } MdlrefDW_BLC_T; #endif /*BLC_MDLREF_HIDE_CHILD_*/ extern void BLC_Init(void); extern void BLC(void); /* Model reference registration function */ extern void BLC_initialize(const char_T **rt_errorStatus); #ifndef BLC_MDLREF_HIDE_CHILD_ extern MdlrefDW_BLC_T BLC_MdlrefDW; #endif /*BLC_MDLREF_HIDE_CHILD_*/ #ifndef BLC_MDLREF_HIDE_CHILD_ /* Block signals (default storage) */ extern B_BLC_c_T BLC_B; /* Block states (default storage) */ extern DW_BLC_f_T BLC_DW; #endif /*BLC_MDLREF_HIDE_CHILD_*/ /*- * The generated code includes comments that allow you to trace directly * back to the appropriate location in the model. The basic format * is /block_name, where system is the system number (uniquely * assigned by Simulink) and block_name is the name of the block. * * Use the MATLAB hilite_system command to trace the generated code back * to the model. For example, * * hilite_system('') - opens system 3 * hilite_system('/Kp') - opens and selects block Kp which resides in S3 * * Here is the system hierarchy for this model * * '' : 'BLC' * '' : 'BLC/BLC' * '' : 'BLC/BLC/EE' * '' : 'BLC/BLC/Enalbe' * '' : 'BLC/BLC/pause' * '' : 'BLC/BLC/record' * '' : 'BLC/BLC/reqCpNow_Count' * '' : 'BLC/BLC/stop' * '' : 'BLC/BLC/EE/If Action Subsystem' * '' : 'BLC/BLC/EE/If Action Subsystem1' * '' : 'BLC/BLC/EE/Subsystem' * '' : 'BLC/BLC/Enalbe/Frist Keep' * '' : 'BLC/BLC/Enalbe/Frist Keep/Subsystem3' * '' : 'BLC/BLC/pause/Chart' * '' : 'BLC/BLC/record/Chart' * '' : 'BLC/BLC/reqCpNow_Count/Chart' * '' : 'BLC/BLC/reqCpNow_Count/Chart1' * '' : 'BLC/BLC/stop/Chart' */ #endif /* RTW_HEADER_BLC_h_ */ /* * File trailer for generated code. * * [EOF] */