/* * File: Subsystem.h * * Code generated for Simulink model 'Subsystem'. * * Model version : 1.7 * Simulink Coder version : 8.0 (R2011a) 09-Mar-2011 * TLC version : 8.0 (Feb 3 2011) * C/C++ source code generated on : Sat Mar 24 22:25:20 2012 * * Target selection: ert.tlc * Embedded hardware selection: 32-bit Generic * Code generation objectives: Unspecified * Validation result: Not run */ #ifndef RTW_HEADER_Subsystem_h_ #define RTW_HEADER_Subsystem_h_ #ifndef Subsystem_COMMON_INCLUDES_ # define Subsystem_COMMON_INCLUDES_ #include #include "rtwtypes.h" #endif /* Subsystem_COMMON_INCLUDES_ */ #include "Subsystem_types.h" /* Macros for accessing real-time model data structure */ #ifndef rtmGetErrorStatus # define rtmGetErrorStatus(rtm) ((rtm)->errorStatus) #endif #ifndef rtmSetErrorStatus # define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val)) #endif /* External inputs (root inport signals with auto storage) */ typedef struct { real_T In1; /* '/In1' */ } ExternalInputs_Subsystem; /* External outputs (root outports fed by signals with auto storage) */ typedef struct { real_T Out1; /* '/Out1' */ } ExternalOutputs_Subsystem; /* Real-time Model Data Structure */ struct RT_MODEL_Subsystem { const char_T * volatile errorStatus; }; /* External inputs (root inport signals with auto storage) */ extern ExternalInputs_Subsystem Subsystem_U; /* External outputs (root outports fed by signals with auto storage) */ extern ExternalOutputs_Subsystem Subsystem_Y; /* Model entry point functions */ extern void Subsystem_initialize(void); extern void Subsystem_step(void); extern void Subsystem_terminate(void); /* Real-time Model object */ extern struct RT_MODEL_Subsystem *const Subsystem_M; /*- * 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 * * '' : Subsystem */ #endif /* RTW_HEADER_Subsystem_h_ */ /* * File trailer for generated code. * * [EOF] */