当前位置: 首页>>代码示例>>C++>>正文


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怎么用?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;
}
开发者ID:mingcongzhang,项目名称:Software-Projects-Work,代码行数:16,代码来源:c41_heart_model.c

示例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;
}
开发者ID:reyueei,项目名称:voltCtrlFLC,代码行数:16,代码来源:c2_chooseTapB.c

示例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;
}
开发者ID:avnishks,项目名称:pratham,代码行数:16,代码来源:c19_adcs_v15_integral_Power.c

示例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;
}
开发者ID:rsutjion,项目名称:Matlab-Simulation---shared-GitHub,代码行数:16,代码来源:c1_EVdemo_6.c

示例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;
}
开发者ID:maryamsab,项目名称:realact,代码行数:17,代码来源:c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile.c

示例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;
}
开发者ID:avnishks,项目名称:pratham,代码行数:17,代码来源:c31_adcs_v15_integral_Power_no_charge_in_detumb.c

示例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;
}
开发者ID:Danpihl,项目名称:Overtaking,代码行数:17,代码来源:c8_AllPurposeModel_TyreRelaxation.c

示例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;
}
开发者ID:ryangrnr,项目名称:3rd-Year-Project,代码行数:17,代码来源:c2_MigrationOWBG_Proto4_1DLinear2DNonLinear.c

示例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;
}
开发者ID:drivkin,项目名称:Motor-simulation-and-reading,代码行数:17,代码来源:c9_testing_control_with_estimate.c


注:本文中的sf_mex_decode_encoded_mx_struct_array函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。