本文整理汇总了C++中sf_mex_decode_encoded_mx_struct_array函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_mex_decode_encoded_mx_struct_array函数的具体用法?C++ sf_mex_decode_encoded_mx_struct_array怎么用?C++ sf_mex_decode_encoded_mx_struct_array使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_mex_decode_encoded_mx_struct_array函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: mxCreateStructMatrix
static const mxArray *sf_get_sim_state_info_c41_heart_model(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x8'type','srcId','name','auxInfo'{{M[6],M[65],T\"event1\",},{M[6],M[66],T\"event2\",},{M[6],M[67],T\"event3\",},{M[7],M[65],T\"event1EventCounter\",},{M[7],M[66],T\"event2EventCounter\",},{M[7],M[67],T\"event3EventCounter\",},{M[8],M[0],T\"is_active_c41_heart_model\",},{M[9],M[0],T\"is_c41_heart_model\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 8, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c41_heart_model_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例2: mxCreateStructMatrix
static mxArray *sf_get_sim_state_info_c2_chooseTapB(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x2'type','srcId','name','auxInfo'{{M[1],M[5],T\"tap\",},{M[8],M[0],T\"is_active_c2_chooseTapB\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 2, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c2_chooseTapB_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例3: mxCreateStructMatrix
static mxArray *sf_get_sim_state_info_c19_adcs_v15_integral_Power(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
char *infoEncStr[] = {
"100 S1x5'type','srcId','name','auxInfo'{{M[1],M[7],T\"Downlink_power\",},{M[1],M[8],T\"flag_downlink\",},{M[1],M[9],T\"flag_france\",},{M[1],M[10],T\"flag_india\",},{M[8],M[0],T\"is_active_c19_adcs_v15_integral_Power\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 5, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c19_adcs_v15_integral_Power_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例4: mxCreateStructMatrix
static const mxArray *sf_get_sim_state_info_c1_EVdemo_6(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x5'type','srcId','name','auxInfo'{{M[1],M[25],T\"BrakeSet\",},{M[1],M[22],T\"Mode\",},{M[8],M[0],T\"is_active_c1_EVdemo_6\",},{M[9],M[0],T\"is_c1_EVdemo_6\",},{M[11],M[0],T\"temporalCounter_i1\",S'et','os','ct'{{T\"wu\",M1x2[4 5],M[1]}}}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 5, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c1_EVdemo_6_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例5: mxCreateStructMatrix
static const mxArray
*sf_get_sim_state_info_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S'type','srcId','name','auxInfo'{{M[8],M[0],T\"is_active_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 1, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例6: mxCreateStructMatrix
static const mxArray
*sf_get_sim_state_info_c3_Engine_Vehicle_CVT_Wit_System1_trial1(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x3'type','srcId','name','auxInfo'{{M[1],M[13],T\"ClutchON\",},{M[8],M[0],T\"is_active_c3_Engine_Vehicle_CVT_Wit_System1_trial1\",},{M[15],M[0],T\"dataWrittenToVector\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 3, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c3_Engine_Vehicle_CVT_Wit_System1_trial1_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
开发者ID:rsutjion,项目名称:Matlab-Simulation---shared-GitHub,代码行数:17,代码来源:c3_Engine_Vehicle_CVT_Wit_System1_trial1.c
示例7: mxCreateStructMatrix
static const mxArray
*sf_get_sim_state_info_c1_motor_control_with_off_the_shelf_SVPWM(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x3'type','srcId','name','auxInfo'{{M[1],M[5],T\"Vd\",},{M[1],M[7],T\"Vq\",},{M[8],M[0],T\"is_active_c1_motor_control_with_off_the_shelf_SVPWM\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 3, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c1_motor_control_with_off_the_shelf_SVPWM_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
开发者ID:drivkin,项目名称:Motor-simulation-and-reading,代码行数:17,代码来源:c1_motor_control_with_off_the_shelf_SVPWM.c
示例8: mxCreateStructMatrix
static mxArray
*sf_get_sim_state_info_c31_adcs_v15_integral_Power_no_charge_in_detumb(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
char *infoEncStr[] = {
"100 S1x2'type','srcId','name','auxInfo'{{M[1],M[5],T\"pow_drawn\",},{M[8],M[0],T\"is_active_c31_adcs_v15_integral_Power_no_charge_in_detumb\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 2, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c31_adcs_v15_integral_Power_no_charge_in_detumb_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例9: mxCreateStructMatrix
static const mxArray *sf_get_sim_state_info_c8_AllPurposeModel_TyreRelaxation
(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x2'type','srcId','name','auxInfo'{{M[1],M[10],T\"derpos_irp3\",},{M[8],M[0],T\"is_active_c8_AllPurposeModel_TyreRelaxation\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 2, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c8_AllPurposeModel_TyreRelaxation_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例10: mxCreateStructMatrix
static const mxArray
*sf_get_sim_state_info_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x2'type','srcId','name','auxInfo'{{M[1],M[4],T\"z\",},{M[8],M[0],T\"is_active_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 2, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}
示例11: mxCreateStructMatrix
static const mxArray *sf_get_sim_state_info_c9_testing_control_with_estimate
(void)
{
const char *infoFields[] = { "chartChecksum", "varInfo" };
mxArray *mxInfo = mxCreateStructMatrix(1, 1, 2, infoFields);
const char *infoEncStr[] = {
"100 S1x4'type','srcId','name','auxInfo'{{M[1],M[5],T\"Va\",},{M[1],M[9],T\"Vb\",},{M[1],M[10],T\"Vc\",},{M[8],M[0],T\"is_active_c9_testing_control_with_estimate\",}}"
};
mxArray *mxVarInfo = sf_mex_decode_encoded_mx_struct_array(infoEncStr, 4, 10);
mxArray *mxChecksum = mxCreateDoubleMatrix(1, 4, mxREAL);
sf_c9_testing_control_with_estimate_get_check_sum(&mxChecksum);
mxSetField(mxInfo, 0, infoFields[0], mxChecksum);
mxSetField(mxInfo, 0, infoFields[1], mxVarInfo);
return mxInfo;
}