#include "vdpmult.h"
#include "rtw_capi.h"
#include "vdpmult_private.h"
static rtwCAPI_Signals rtBlockSignals[] = {
{
0, 0, NULL, NULL, 0, 0, 0, 0, 0
}
};
static rtwCAPI_States rtBlockStates[] = {
{
0, NULL, NULL, 0, 0, 0, 0
}
};
static void vdpmult_InitializeSystemRanArray(void *systemRanArray[]) {
static SubSystemRanBCTransition alwaysEnabled = SUBSYS_RAN_BC_ENABLE;
systemRanArray[0] = (void *)&alwaysEnabled;
systemRanArray[1] = (void *)&alwaysEnabled;
}
static rtwCAPI_DataTypeMap rtDataTypeMap[] = {
{
"", "", 0, 0, 0, 0, 0, 0
}
};
static rtwCAPI_ElementMap rtElementMap[] = {
{NULL, 0, 0, 0, 0},
};
static rtwCAPI_DimensionMap rtDimensionMap[] = {
{
rtwCAPI_SCALAR, 0, 0
}
};
static uint_T rtDimensionArray[] = {0};
static const real_T rtcapiStoredFloats[] = {
0.0
};
static rtwCAPI_FixPtMap rtFixPtMap[] = {
{NULL, NULL, rtwCAPI_FIX_RESERVED, 0, 0 },
};
static rtwCAPI_SampleTimeMap rtSampleTimeMap[] = {
{
NULL, NULL, 0,
0, 0
}
};
static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
{rtBlockSignals, 0},
{NULL, 0,
NULL, 0},
{rtBlockStates, 0},
{rtDataTypeMap, rtDimensionMap, rtFixPtMap,
rtElementMap, rtSampleTimeMap, rtDimensionArray},
"float"
};
void vdpmult_InitializeDataMapInfo(RT_MODEL_vdpmult *vdpmult_M) {
rtwCAPI_SetVersion(vdpmult_M->DataMapInfo.mmi, 1);
rtwCAPI_SetStaticMap(vdpmult_M->DataMapInfo.mmi, &mmiStatic);
rtwCAPI_SetPath(vdpmult_M->DataMapInfo.mmi, NULL);
rtwCAPI_SetFullPath(vdpmult_M->DataMapInfo.mmi, NULL);
rtwCAPI_SetChildMMIArray(vdpmult_M->DataMapInfo.mmi, NULL);
rtwCAPI_SetChildMMIArrayLen(vdpmult_M->DataMapInfo.mmi, 0);
vdpmult_InitializeSystemRanArray(vdpmult_M->DataMapInfo.systemRanArray);
rtwCAPI_SetSystemRanArray(vdpmult_M->DataMapInfo.mmi,
vdpmult_M->DataMapInfo.systemRanArray);
rtwCAPI_SetSystemRanArrayLen(vdpmult_M->DataMapInfo.mmi, 2);
}