File: System_Monitor_Functional.h1 /* 2 * Code generation for system model 'System_Monitor_Functional' 3 * For more details, see corresponding source file System_Monitor_Functional.c 4 * 5 */ 6 #ifndef RTW_HEADER_System_Monitor_Functional_h_ 7 #define RTW_HEADER_System_Monitor_Functional_h_ 8 #ifndef System_Monitor_Functional_COMMON_INCLUDES_ 9 # define System_Monitor_Functional_COMMON_INCLUDES_ 10 #include <string.h> 11 #include "rtwtypes.h" 12 #include "rtw_continuous.h" 13 #include "rtw_solver.h" 14 #endif /* System_Monitor_Functional_COMMON_INCLUDES_ */ 15 16 #include "System_Monitor_Functional_types.h" 17 18 /* Block signals for model 'System_Monitor_Functional' */ 19 typedef struct { 20 boolean_T SYS_MON_OUT_System_Monitor_Failed;/* '<Root>/System Monitor Sub-System' */ 21 } B_System_Monitor_Functional_c_T; 22 23 /* Block states (auto storage) for model 'System_Monitor_Functional' */ 24 typedef struct { 25 uint8_T is_active_c1_System_Monitor_Functional;/* '<Root>/System Monitor Sub-System' */ 26 uint8_T is_c1_System_Monitor_Functional;/* '<Root>/System Monitor Sub-System' */ 27 } DW_System_Monitor_Functional_f_T; 28 29 /* Real-time Model Data Structure */ 30 struct tag_RTM_System_Monitor_Functional_T { 31 const char_T **errorStatus; 32 }; 33 34 typedef struct { 35 B_System_Monitor_Functional_c_T rtb; 36 DW_System_Monitor_Functional_f_T rtdw; 37 RT_MODEL_System_Monitor_Functional_T rtm; 38 } MdlrefDW_System_Monitor_Functional_T; 39 40 /* Model reference registration function */ 41 extern void System_Monitor_Functional_initialize(const char_T **rt_errorStatus, 42 RT_MODEL_System_Monitor_Functional_T *const System_Monitor_Functional_M, 43 B_System_Monitor_Functional_c_T *localB, DW_System_Monitor_Functional_f_T 44 *localDW); 45 extern void System_Monitor_Functional_Init(B_System_Monitor_Functional_c_T 46 *localB, DW_System_Monitor_Functional_f_T *localDW); 47 extern void System_Monitor_Functional(const Top_Level_Mode_Outputs 48 *rtu_TLM_MODE_IN, System_Monitor_Output *rty_SYS_MON_OUT, 49 B_System_Monitor_Functional_c_T *localB, DW_System_Monitor_Functional_f_T 50 *localDW); 51 52 /*- 53 * The generated code includes comments that allow you to trace directly 54 * back to the appropriate location in the model. The basic format 55 * is <system>/block_name, where system is the system number (uniquely 56 * assigned by Simulink) and block_name is the name of the block. 57 * 58 * Use the MATLAB hilite_system command to trace the generated code back 59 * to the model. For example, 60 * 61 * hilite_system('<S3>') - opens system 3 62 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3 63 * 64 * Here is the system hierarchy for this model 65 * 66 * '<Root>' : 'System_Monitor_Functional' 67 * '<S1>' : 'System_Monitor_Functional/System Monitor Sub-System' 68 */ 69 #endif /* RTW_HEADER_System_Monitor_Functional_h_ */ 70 |