#ifndef RTW_HEADER_Subsystem_h_ #define RTW_HEADER_Subsystem_h_ #include "rtw_modelmap.h" #ifndef Subsystem_COMMON_INCLUDES_ # define Subsystem_COMMON_INCLUDES_ #include #include #include "rtwtypes.h" #include "simstruc.h" #include "fixedpoint.h" #include "rt_nonfinite.h" #endif #include "Subsystem_types.h" struct RT_MODEL_Subsystem { struct SimStruct_tag *_mdlRefSfcnS; struct { rtwCAPI_ModelMappingInfo mmi; rtwCAPI_ModelMapLoggingInstanceInfo mmiLogInstanceInfo; sysRanDType* systemRan[2]; int_T systemTid[2]; } DataMapInfo; }; typedef struct { RT_MODEL_Subsystem rtm; } rtMdlrefDWork_mr_Subsystem; extern void mr_Subsystem_initialize(SimStruct * _mdlRefSfcnS, int_T mdlref_TID0, RT_MODEL_Subsystem *const Subsystem_M, void *sysRanPtr, int contextTid, rtwCAPI_ModelMappingInfo *rt_ParentMMI, const char_T *rt_ChildPath, int_T rt_ChildMMIIdx, int_T rt_CSTATEIdx); extern void mr_Subsystem_MdlInfoRegFcn(SimStruct* mdlRefSfcnS, char_T *modelName, int_T *retVal); extern const rtwCAPI_ModelMappingStaticInfo* Subsystem_GetCAPIStaticMap(void); extern void mr_Subsystem(const real_T *rtu_In1, real_T *rty_Out1); #endif