/* Function Definitions */ static real_T h_emlrt_marshallIn(const mxArray *u, const emlrtMsgIdentifier *parentId) { real_T y; y = l_emlrt_marshallIn(emlrtAlias(u), parentId); emlrtDestroyArray(&u); return y; }
/* * Arguments : const emlrtStack *sp * const mxArray *u * const emlrtMsgIdentifier *parentId * Return Type : real_T (*)[4] */ static real_T (*h_emlrt_marshallIn(const emlrtStack *sp, const mxArray *u, const emlrtMsgIdentifier *parentId))[4] { real_T (*y)[4]; y = l_emlrt_marshallIn(sp, emlrtAlias(u), parentId); emlrtDestroyArray(&u); return y; }
static boolean_T k_emlrt_marshallIn(const emlrtStack *sp, const mxArray *plotFlag, const char_T *identifier) { boolean_T y; emlrtMsgIdentifier thisId; thisId.fIdentifier = identifier; thisId.fParent = NULL; y = l_emlrt_marshallIn(sp, emlrtAlias(plotFlag), &thisId); emlrtDestroyArray(&plotFlag); return y; }
static real_T (*k_emlrt_marshallIn(const emlrtStack *sp, const mxArray *plim, const char_T *identifier))[2] { real_T (*y)[2]; emlrtMsgIdentifier thisId; thisId.fIdentifier = identifier; thisId.fParent = NULL; y = l_emlrt_marshallIn(sp, emlrtAlias(plim), &thisId); emlrtDestroyArray(&plim); return y; }
/* * Arguments : const emlrtStack *sp * const mxArray *dt * const char_T *identifier * Return Type : real_T */ static real_T k_emlrt_marshallIn(const emlrtStack *sp, const mxArray *dt, const char_T *identifier) { real_T y; emlrtMsgIdentifier thisId; thisId.fIdentifier = identifier; thisId.fParent = NULL; thisId.bParentIsCell = false; y = l_emlrt_marshallIn(sp, emlrtAlias(dt), &thisId); emlrtDestroyArray(&dt); return y; }
/* * Arguments : const emlrtStack *sp * const mxArray *u * const emlrtMsgIdentifier *parentId * emxArray_real_T *y * Return Type : void */ static void d_emlrt_marshallIn(const emlrtStack *sp, const mxArray *u, const emlrtMsgIdentifier *parentId, emxArray_real_T *y) { l_emlrt_marshallIn(sp, emlrtAlias(u), parentId, y); emlrtDestroyArray(&u); }
/* * Arguments : const emlrtStack *sp * const mxArray *u * const emlrtMsgIdentifier *parentId * struct0_T *y * Return Type : void */ static void h_emlrt_marshallIn(const emlrtStack *sp, const mxArray *u, const emlrtMsgIdentifier *parentId, struct0_T *y) { emlrtMsgIdentifier thisId; static const char * fieldNames[32] = { "vehVelMin", "vehVelMax", "vehAccMax", "vehAccMin", "drgCof", "vehMas", "whlRolResCof", "whlDrr", "batRstChr", "batRstDch", "batOcvCof_batEng", "batEngMax", "batPwrMax", "batPwrMin", "geaRat", "geaEfy", "iceSpdMgd", "iceTrqMgd", "fulDen", "fulLhv", "iceFulPwr_iceSpd_iceTrq", "iceTrqMaxCof", "iceTrqMinCof", "emoSpdMgd", "emoTrqMgd", "emoPwr_emoSpd_emoTrq", "emoTrqMin_emoSpd", "emoTrqMax_emoSpd", "emoPwrMgd", "emoTrq_emoSpd_emoPwr", "emoPwrMax_emoSpd", "emoPwrMin_emoSpd" }; thisId.fParent = parentId; emlrtCheckStructR2012b(sp, parentId, u, 32, fieldNames, 0U, 0); thisId.fIdentifier = "vehVelMin"; y->vehVelMin = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "vehVelMin")), &thisId); thisId.fIdentifier = "vehVelMax"; y->vehVelMax = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "vehVelMax")), &thisId); thisId.fIdentifier = "vehAccMax"; y->vehAccMax = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "vehAccMax")), &thisId); thisId.fIdentifier = "vehAccMin"; y->vehAccMin = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "vehAccMin")), &thisId); thisId.fIdentifier = "drgCof"; y->drgCof = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "drgCof")), &thisId); thisId.fIdentifier = "vehMas"; y->vehMas = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "vehMas")), &thisId); thisId.fIdentifier = "whlRolResCof"; y->whlRolResCof = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "whlRolResCof")), &thisId); thisId.fIdentifier = "whlDrr"; y->whlDrr = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "whlDrr")), &thisId); thisId.fIdentifier = "batRstChr"; y->batRstChr = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "batRstChr")), &thisId); thisId.fIdentifier = "batRstDch"; y->batRstDch = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "batRstDch")), &thisId); thisId.fIdentifier = "batOcvCof_batEng"; i_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "batOcvCof_batEng")), &thisId, y->batOcvCof_batEng); thisId.fIdentifier = "batEngMax"; y->batEngMax = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "batEngMax")), &thisId); thisId.fIdentifier = "batPwrMax"; y->batPwrMax = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "batPwrMax")), &thisId); thisId.fIdentifier = "batPwrMin"; y->batPwrMin = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "batPwrMin")), &thisId); thisId.fIdentifier = "geaRat"; j_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "geaRat")), &thisId, y->geaRat); thisId.fIdentifier = "geaEfy"; y->geaEfy = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "geaEfy")), &thisId); thisId.fIdentifier = "iceSpdMgd"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "iceSpdMgd")), &thisId, y->iceSpdMgd); thisId.fIdentifier = "iceTrqMgd"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "iceTrqMgd")), &thisId, y->iceTrqMgd); thisId.fIdentifier = "fulDen"; y->fulDen = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "fulDen")), &thisId); thisId.fIdentifier = "fulLhv"; y->fulLhv = b_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "fulLhv")), &thisId); thisId.fIdentifier = "iceFulPwr_iceSpd_iceTrq"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "iceFulPwr_iceSpd_iceTrq")), &thisId, y->iceFulPwr_iceSpd_iceTrq); thisId.fIdentifier = "iceTrqMaxCof"; l_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "iceTrqMaxCof")), &thisId, y->iceTrqMaxCof); thisId.fIdentifier = "iceTrqMinCof"; l_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "iceTrqMinCof")), &thisId, y->iceTrqMinCof); thisId.fIdentifier = "emoSpdMgd"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoSpdMgd")), &thisId, y->emoSpdMgd); thisId.fIdentifier = "emoTrqMgd"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoTrqMgd")), &thisId, y->emoTrqMgd); thisId.fIdentifier = "emoPwr_emoSpd_emoTrq"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoPwr_emoSpd_emoTrq")), &thisId, y->emoPwr_emoSpd_emoTrq); thisId.fIdentifier = "emoTrqMin_emoSpd"; m_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoTrqMin_emoSpd")), &thisId, y->emoTrqMin_emoSpd); thisId.fIdentifier = "emoTrqMax_emoSpd"; m_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoTrqMax_emoSpd")), &thisId, y->emoTrqMax_emoSpd); thisId.fIdentifier = "emoPwrMgd"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoPwrMgd")), &thisId, y->emoPwrMgd); thisId.fIdentifier = "emoTrq_emoSpd_emoPwr"; k_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoTrq_emoSpd_emoPwr")), &thisId, y->emoTrq_emoSpd_emoPwr); thisId.fIdentifier = "emoPwrMax_emoSpd"; m_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoPwrMax_emoSpd")), &thisId, y->emoPwrMax_emoSpd); thisId.fIdentifier = "emoPwrMin_emoSpd"; m_emlrt_marshallIn(sp, emlrtAlias(emlrtGetFieldR2013a(sp, u, 0, "emoPwrMin_emoSpd")), &thisId, y->emoPwrMin_emoSpd); emlrtDestroyArray(&u); }