/* * File: BLC.h * * Code generated for Simulink model 'BLC'. * * Model version : 1.42 * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 * C/C++ source code generated on : Fri Aug 20 13:55:26 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' */ } 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 UnitDelay_DSTATE[28]; /* '/Unit Delay' */ uint16_T QL; /* '/Chart1' */ boolean_T UnitDelay1_DSTATE; /* '/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_*/ /*- * These blocks were eliminated from the model due to optimizations: * * Block '/Display' : Unused code path elimination * Block '/Scope' : Unused code path elimination */ /*- * 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/Subsystem' * '' : 'BLC/Subsystem/EE' * '' : 'BLC/Subsystem/Enalbe' * '' : 'BLC/Subsystem/pause' * '' : 'BLC/Subsystem/record' * '' : 'BLC/Subsystem/reqCpNow_Count' * '' : 'BLC/Subsystem/stop' * '' : 'BLC/Subsystem/EE/If Action Subsystem' * '' : 'BLC/Subsystem/EE/If Action Subsystem1' * '' : 'BLC/Subsystem/EE/Subsystem' * '' : 'BLC/Subsystem/pause/Chart' * '' : 'BLC/Subsystem/record/Chart' * '' : 'BLC/Subsystem/reqCpNow_Count/Chart' * '' : 'BLC/Subsystem/reqCpNow_Count/Chart1' * '' : 'BLC/Subsystem/stop/Chart' */ #endif /* RTW_HEADER_BLC_h_ */ /* * File trailer for generated code. * * [EOF] */