/* * ECPDSPResetmdl.h * * Real-Time Workshop code generation for Simulink model "ECPDSPResetmdl.mdl". * * Model Version : 1.16 * Real-Time Workshop file version : 5.1 $Date: 2003/08/08 18:37:24 $ * Real-Time Workshop file generated on : Fri Feb 10 08:06:09 2006 * TLC version : 5.1 (Aug 8 2003) * C source code generated on : Fri Feb 10 08:06:09 2006 */ #ifndef _RTW_HEADER_ECPDSPResetmdl_h_ # define _RTW_HEADER_ECPDSPResetmdl_h_ #ifndef _ECPDSPResetmdl_COMMON_INCLUDES_ # define _ECPDSPResetmdl_COMMON_INCLUDES_ #include #include #include "simstruc.h" #include "dt_info.h" #include "rtwintgt.h" #endif /* _ECPDSPResetmdl_COMMON_INCLUDES_ */ #include "ECPDSPResetmdl_types.h" #define MODEL_NAME ECPDSPResetmdl #define NSAMPLE_TIMES (1) /* Number of sample times */ #define NINPUTS (0) /* Number of model inputs */ #define NOUTPUTS (0) /* Number of model outputs */ #define NBLOCKIO (1) /* Number of data output port signals */ #define NUM_ZC_EVENTS (0) /* Number of zero-crossing events */ #ifndef NCSTATES # define NCSTATES (0) /* Number of continuous states */ #elif NCSTATES != 0 # error Invalid specification of NCSTATES defined in compiler command #endif /* Intrinsic types */ #ifndef POINTER_T # define POINTER_T typedef void * pointer_T; #endif /* Block signals (auto storage) */ typedef struct _BlockIO { real_T S_Function; /* '/S-Function' */ } BlockIO; /* Parameters (auto storage) */ struct _Parameters { real_T S_Function_P1_Size[2]; /* Computed Parameter: P1Size * '/S-Function' */ real_T S_Function_P1[6]; /* Expression: BaseAddr * '/S-Function' */ real_T S_Function_P2_Size[2]; /* Computed Parameter: P2Size * '/S-Function' */ real_T S_Function_P2; /* Expression: STime * '/S-Function' */ real_T S_Function_P3_Size[2]; /* Computed Parameter: P3Size * '/S-Function' */ real_T S_Function_P3; /* Expression: TimeOutPer * '/S-Function' */ real_T S_Function_P4_Size[2]; /* Computed Parameter: P4Size * '/S-Function' */ real_T S_Function_P4; /* Expression: HWAccess * '/S-Function' */ real_T Add_1_Value; /* Expression: 1 * '/Add 1' */ }; /* Simulation Structure */ extern SimStruct *const rtS; extern Parameters rtP; /* parameters */ /* External data declarations for dependent source files */ extern BlockIO rtB; /* block i/o */ /* * 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 * * '' : ECPDSPResetmdl * '' : ECPDSPResetmdl/ECPDSP Reset */ #endif /* _RTW_HEADER_ECPDSPResetmdl_h_ */