void testmodel_1109_InitializeDataMapInfo(RT_MODEL_testmodel_1109_T *const testmodel_1109_M) { /* Set C-API version */ rtwCAPI_SetVersion(testmodel_1109_M->DataMapInfo.mmi, 1); /* Cache static C-API data into the Real-time Model Data structure */ rtwCAPI_SetStaticMap(testmodel_1109_M->DataMapInfo.mmi, &mmiStatic); /* Cache static C-API logging data into the Real-time Model Data structure */ rtwCAPI_SetLoggingStaticMap(testmodel_1109_M->DataMapInfo.mmi, (NULL)); /* Cache C-API Data Addresses into the Real-Time Model Data structure */ rtwCAPI_SetDataAddressMap(testmodel_1109_M->DataMapInfo.mmi, rtDataAddrMap); /* Cache C-API Data Run-Time Dimension Buffer Addresses into the Real-Time Model Data structure */ rtwCAPI_SetVarDimsAddressMap(testmodel_1109_M->DataMapInfo.mmi, rtVarDimsAddrMap); /* Cache C-API rtp Address and size into the Real-Time Model Data structure */ testmodel_1109_M->DataMapInfo.mmi.InstanceMap.rtpAddress = rtmGetDefaultParam (testmodel_1109_M); testmodel_1109_M->DataMapInfo.mmi.staticMap->rtpSize = sizeof (P_testmodel_1109_T); /* Cache the instance C-API logging pointer */ rtwCAPI_SetInstanceLoggingInfo(testmodel_1109_M->DataMapInfo.mmi, (NULL)); /* Set reference to submodels */ rtwCAPI_SetChildMMIArray(testmodel_1109_M->DataMapInfo.mmi, (NULL)); rtwCAPI_SetChildMMIArrayLen(testmodel_1109_M->DataMapInfo.mmi, 0); }
] = 0 ; rtContextSystems [ 2 ] = 0 ; } void sldemo_mdlref_counter_InitializeDataMapInfo ( hpker3z0vt * const csoynizrov , k2kslffmdl * localDW , void * sysRanPtr , int contextTid ) { rtwCAPI_SetVersion ( csoynizrov -> DataMapInfo . mmi , 1 ) ; rtwCAPI_SetStaticMap ( csoynizrov -> DataMapInfo . mmi , & mmiStatic ) ; rtwCAPI_SetLoggingStaticMap ( csoynizrov -> DataMapInfo . mmi , & mmiStaticInfoLogging ) ; sldemo_mdlref_counter_InitializeDataAddr ( csoynizrov -> DataMapInfo . dataAddress , localDW ) ; rtwCAPI_SetDataAddressMap ( csoynizrov -> DataMapInfo . mmi , csoynizrov -> DataMapInfo . dataAddress ) ; sldemo_mdlref_counter_InitializeVarDimsAddr ( csoynizrov -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetVarDimsAddressMap ( csoynizrov -> DataMapInfo . mmi , csoynizrov -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetPath ( csoynizrov -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetFullPath ( csoynizrov -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetInstanceLoggingInfo ( csoynizrov -> DataMapInfo . mmi , & csoynizrov -> DataMapInfo . mmiLogInstanceInfo ) ; rtwCAPI_SetChildMMIArray ( csoynizrov -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( csoynizrov -> DataMapInfo . mmi , 0 ) ; sldemo_mdlref_counter_InitializeSystemRan ( csoynizrov , csoynizrov -> DataMapInfo . systemRan , localDW , csoynizrov -> DataMapInfo . systemTid , sysRanPtr , contextTid ) ; rtwCAPI_SetSystemRan ( csoynizrov -> DataMapInfo . mmi , csoynizrov -> DataMapInfo . systemRan ) ; rtwCAPI_SetSystemTid ( csoynizrov -> DataMapInfo . mmi , csoynizrov -> DataMapInfo . systemTid ) ; rtwCAPI_SetGlobalTIDMap ( csoynizrov -> DataMapInfo . mmi , & csoynizrov -> Timing . mdlref_GlobalTID [ 0 ] ) ; }
/* Cache pointers into DataMapInfo substructure of RTModel */ void UnWaterChannelProbe_InitializeDataMapInfo(rtModel_UnWaterChannelProbe *UnWaterChannelProbe_rtM ) { /* Set C-API version */ rtwCAPI_SetVersion(UnWaterChannelProbe_rtM->DataMapInfo.mmi, 1); /* Cache static C-API data into the Real-time Model Data structure */ rtwCAPI_SetStaticMap(UnWaterChannelProbe_rtM->DataMapInfo.mmi, &mmiStatic); /* Cache static C-API logging data into the Real-time Model Data structure */ rtwCAPI_SetLoggingStaticMap(UnWaterChannelProbe_rtM->DataMapInfo.mmi, NULL); /* Cache C-API Data Addresses into the Real-Time Model Data structure */ rtwCAPI_SetDataAddressMap(UnWaterChannelProbe_rtM->DataMapInfo.mmi, rtDataAddrMap); /* Cache C-API Data Run-Time Dimension Buffer Addresses into the Real-Time Model Data structure */ rtwCAPI_SetVarDimsAddressMap(UnWaterChannelProbe_rtM->DataMapInfo.mmi, rtVarDimsAddrMap); /* Cache the instance C-API logging pointer */ rtwCAPI_SetInstanceLoggingInfo(UnWaterChannelProbe_rtM->DataMapInfo.mmi, NULL); /* Set Reference to submodels */ rtwCAPI_SetChildMMIArray(UnWaterChannelProbe_rtM->DataMapInfo.mmi, NULL); rtwCAPI_SetChildMMIArrayLen(UnWaterChannelProbe_rtM->DataMapInfo.mmi, 0); }
void Deadbeat_CUK_host_InitializeDataMapInfo ( Deadbeat_CUK_host_DataMapInfo_T * dataMap , const char * path ) { rtwCAPI_SetVersion ( dataMap -> mmi , 1 ) ; rtwCAPI_SetStaticMap ( dataMap -> mmi , & mmiStatic ) ; rtwCAPI_SetDataAddressMap ( dataMap -> mmi , NULL ) ; rtwCAPI_SetVarDimsAddressMap ( dataMap -> mmi , NULL ) ; rtwCAPI_SetPath ( dataMap -> mmi , path ) ; rtwCAPI_SetFullPath ( dataMap -> mmi , NULL ) ; rtwCAPI_SetChildMMIArray ( dataMap -> mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( dataMap -> mmi , 0 ) ; }
void friccion_aislada_esferica_estatica_host_InitializeDataMapInfo ( friccion_aislada_esferica_estatica_host_DataMapInfo_T * dataMap , const char * path ) { rtwCAPI_SetVersion ( dataMap -> mmi , 1 ) ; rtwCAPI_SetStaticMap ( dataMap -> mmi , & mmiStatic ) ; rtwCAPI_SetDataAddressMap ( dataMap -> mmi , NULL ) ; rtwCAPI_SetVarDimsAddressMap ( dataMap -> mmi , NULL ) ; rtwCAPI_SetPath ( dataMap -> mmi , path ) ; rtwCAPI_SetFullPath ( dataMap -> mmi , NULL ) ; rtwCAPI_SetChildMMIArray ( dataMap -> mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( dataMap -> mmi , 0 ) ; }
void Deadbeat_CUK_InitializeDataMapInfo ( SimStruct * const rtS ) { rtwCAPI_SetVersion ( ( * rt_dataMapInfoPtr ) . mmi , 1 ) ; rtwCAPI_SetStaticMap ( ( * rt_dataMapInfoPtr ) . mmi , & mmiStatic ) ; rtwCAPI_SetLoggingStaticMap ( ( * rt_dataMapInfoPtr ) . mmi , ( NULL ) ) ; rtwCAPI_SetDataAddressMap ( ( * rt_dataMapInfoPtr ) . mmi , rtDataAddrMap ) ; rtwCAPI_SetVarDimsAddressMap ( ( * rt_dataMapInfoPtr ) . mmi , rtVarDimsAddrMap ) ; rtwCAPI_SetInstanceLoggingInfo ( ( * rt_dataMapInfoPtr ) . mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArray ( ( * rt_dataMapInfoPtr ) . mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( ( * rt_dataMapInfoPtr ) . mmi , 0 ) ; }
static void init_test_point_mapping_info(SimStruct *S) { rtwCAPI_ModelMappingInfo *testPointMappingInfo; void **testPointAddrMap; init_test_point_addr_map(); testPointMappingInfo = get_test_point_mapping_info(); testPointAddrMap = get_test_point_address_map(); rtwCAPI_SetStaticMap(*testPointMappingInfo, &testPointMappingStaticInfo); rtwCAPI_SetLoggingStaticMap(*testPointMappingInfo, NULL); rtwCAPI_SetInstanceLoggingInfo(*testPointMappingInfo, NULL); rtwCAPI_SetPath(*testPointMappingInfo, ""); rtwCAPI_SetFullPath(*testPointMappingInfo, NULL); rtwCAPI_SetDataAddressMap(*testPointMappingInfo, testPointAddrMap); rtwCAPI_SetChildMMIArray(*testPointMappingInfo, NULL); rtwCAPI_SetChildMMIArrayLen(*testPointMappingInfo, 0); ssSetModelMappingInfoPtr(S, testPointMappingInfo); }
void testmodel_1109_host_InitializeDataMapInfo (testmodel_1109_host_DataMapInfo_T *dataMap, const char *path) { /* Set C-API version */ rtwCAPI_SetVersion(dataMap->mmi, 1); /* Cache static C-API data into the Real-time Model Data structure */ rtwCAPI_SetStaticMap(dataMap->mmi, &mmiStatic); /* host data address map is NULL */ rtwCAPI_SetDataAddressMap(dataMap->mmi, NULL); /* host vardims address map is NULL */ rtwCAPI_SetVarDimsAddressMap(dataMap->mmi, NULL); /* Set Instance specific path */ rtwCAPI_SetPath(dataMap->mmi, path); rtwCAPI_SetFullPath(dataMap->mmi, NULL); /* Set reference to submodels */ rtwCAPI_SetChildMMIArray(dataMap->mmi, (NULL)); rtwCAPI_SetChildMMIArrayLen(dataMap->mmi, 0); }
void EV_Pwr_Manager_InitializeDataMapInfo ( dk515r3a3r * const ez1amjfhle , dtjshe2cwg * localDW , void * sysRanPtr , int contextTid ) { rtwCAPI_SetVersion ( ez1amjfhle -> DataMapInfo . mmi , 1 ) ; rtwCAPI_SetStaticMap ( ez1amjfhle -> DataMapInfo . mmi , & mmiStatic ) ; rtwCAPI_SetLoggingStaticMap ( ez1amjfhle -> DataMapInfo . mmi , & mmiStaticInfoLogging ) ; EV_Pwr_Manager_InitializeDataAddr ( ez1amjfhle -> DataMapInfo . dataAddress , localDW ) ; rtwCAPI_SetDataAddressMap ( ez1amjfhle -> DataMapInfo . mmi , ez1amjfhle -> DataMapInfo . dataAddress ) ; EV_Pwr_Manager_InitializeVarDimsAddr ( ez1amjfhle -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetVarDimsAddressMap ( ez1amjfhle -> DataMapInfo . mmi , ez1amjfhle -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetPath ( ez1amjfhle -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetFullPath ( ez1amjfhle -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetInstanceLoggingInfo ( ez1amjfhle -> DataMapInfo . mmi , & ez1amjfhle -> DataMapInfo . mmiLogInstanceInfo ) ; rtwCAPI_SetChildMMIArray ( ez1amjfhle -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( ez1amjfhle -> DataMapInfo . mmi , 0 ) ; EV_Pwr_Manager_InitializeSystemRan ( ez1amjfhle , ez1amjfhle -> DataMapInfo . systemRan , localDW , ez1amjfhle -> DataMapInfo . systemTid , sysRanPtr , contextTid ) ; rtwCAPI_SetSystemRan ( ez1amjfhle -> DataMapInfo . mmi , ez1amjfhle -> DataMapInfo . systemRan ) ; rtwCAPI_SetSystemTid ( ez1amjfhle -> DataMapInfo . mmi , ez1amjfhle -> DataMapInfo . systemTid ) ; rtwCAPI_SetGlobalTIDMap ( ez1amjfhle -> DataMapInfo . mmi , & c5bw2jg1mz [ 0 ] ) ; }
void Bikair_MBD_Controller_InitializeDataMapInfo ( cfnrecmf1m * const iuns1uhuvx , void * sysRanPtr , int contextTid ) { rtwCAPI_SetVersion ( iuns1uhuvx -> DataMapInfo . mmi , 1 ) ; rtwCAPI_SetStaticMap ( iuns1uhuvx -> DataMapInfo . mmi , & mmiStatic ) ; rtwCAPI_SetLoggingStaticMap ( iuns1uhuvx -> DataMapInfo . mmi , & mmiStaticInfoLogging ) ; Bikair_MBD_Controller_InitializeDataAddr ( iuns1uhuvx -> DataMapInfo . dataAddress ) ; rtwCAPI_SetDataAddressMap ( iuns1uhuvx -> DataMapInfo . mmi , iuns1uhuvx -> DataMapInfo . dataAddress ) ; Bikair_MBD_Controller_InitializeVarDimsAddr ( iuns1uhuvx -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetVarDimsAddressMap ( iuns1uhuvx -> DataMapInfo . mmi , iuns1uhuvx -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetPath ( iuns1uhuvx -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetFullPath ( iuns1uhuvx -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetInstanceLoggingInfo ( iuns1uhuvx -> DataMapInfo . mmi , & iuns1uhuvx -> DataMapInfo . mmiLogInstanceInfo ) ; rtwCAPI_SetChildMMIArray ( iuns1uhuvx -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( iuns1uhuvx -> DataMapInfo . mmi , 0 ) ; Bikair_MBD_Controller_InitializeSystemRan ( iuns1uhuvx , iuns1uhuvx -> DataMapInfo . systemRan , iuns1uhuvx -> DataMapInfo . systemTid , sysRanPtr , contextTid ) ; rtwCAPI_SetSystemRan ( iuns1uhuvx -> DataMapInfo . mmi , iuns1uhuvx -> DataMapInfo . systemRan ) ; rtwCAPI_SetSystemTid ( iuns1uhuvx -> DataMapInfo . mmi , iuns1uhuvx -> DataMapInfo . systemTid ) ; rtwCAPI_SetGlobalTIDMap ( iuns1uhuvx -> DataMapInfo . mmi , & ocdvaaq32b [ 0 ] ) ; }
void IntelligentFlightSystem_InitializeDataMapInfo ( obtbqy5wje * const kbrymlnnzk , hw45gft1pc * localDW , void * sysRanPtr , int contextTid ) { rtwCAPI_SetVersion ( kbrymlnnzk -> DataMapInfo . mmi , 1 ) ; rtwCAPI_SetStaticMap ( kbrymlnnzk -> DataMapInfo . mmi , & mmiStatic ) ; rtwCAPI_SetLoggingStaticMap ( kbrymlnnzk -> DataMapInfo . mmi , & mmiStaticInfoLogging ) ; IntelligentFlightSystem_InitializeDataAddr ( kbrymlnnzk -> DataMapInfo . dataAddress , localDW ) ; rtwCAPI_SetDataAddressMap ( kbrymlnnzk -> DataMapInfo . mmi , kbrymlnnzk -> DataMapInfo . dataAddress ) ; IntelligentFlightSystem_InitializeVarDimsAddr ( kbrymlnnzk -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetVarDimsAddressMap ( kbrymlnnzk -> DataMapInfo . mmi , kbrymlnnzk -> DataMapInfo . vardimsAddress ) ; rtwCAPI_SetPath ( kbrymlnnzk -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetFullPath ( kbrymlnnzk -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetInstanceLoggingInfo ( kbrymlnnzk -> DataMapInfo . mmi , & kbrymlnnzk -> DataMapInfo . mmiLogInstanceInfo ) ; rtwCAPI_SetChildMMIArray ( kbrymlnnzk -> DataMapInfo . mmi , ( NULL ) ) ; rtwCAPI_SetChildMMIArrayLen ( kbrymlnnzk -> DataMapInfo . mmi , 0 ) ; IntelligentFlightSystem_InitializeSystemRan ( kbrymlnnzk , kbrymlnnzk -> DataMapInfo . systemRan , localDW , kbrymlnnzk -> DataMapInfo . systemTid , sysRanPtr , contextTid ) ; rtwCAPI_SetSystemRan ( kbrymlnnzk -> DataMapInfo . mmi , kbrymlnnzk -> DataMapInfo . systemRan ) ; rtwCAPI_SetSystemTid ( kbrymlnnzk -> DataMapInfo . mmi , kbrymlnnzk -> DataMapInfo . systemTid ) ; rtwCAPI_SetGlobalTIDMap ( kbrymlnnzk -> DataMapInfo . mmi , & cvcjuobuj3 [ 0 ] ) ; }