• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ sf_mex_create函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中sf_mex_create函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_mex_create函数的具体用法?C++ sf_mex_create怎么用?C++ sf_mex_create使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了sf_mex_create函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: sf_mex_assign

static const mxArray *c3_d_sf_marshallOut(void *chartInstanceVoid, void
  *c3_inData)
{
  const mxArray *c3_mxArrayOutData = NULL;
  int32_T c3_u;
  const mxArray *c3_b_y = NULL;
  SFc3_DisplayCANMsgInstanceStruct *chartInstance;
  chartInstance = (SFc3_DisplayCANMsgInstanceStruct *)chartInstanceVoid;
  c3_mxArrayOutData = NULL;
  c3_u = *(int32_T *)c3_inData;
  c3_b_y = NULL;
  sf_mex_assign(&c3_b_y, sf_mex_create("y", &c3_u, 6, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c3_mxArrayOutData, c3_b_y, false);
  return c3_mxArrayOutData;
}
开发者ID:khiemdo,项目名称:embedded-matlab,代码行数:15,代码来源:c3_DisplayCANMsg.c


示例2: sf_mex_assign

static const mxArray *c52_c_sf_marshallOut(void *chartInstanceVoid, void
  *c52_inData)
{
  const mxArray *c52_mxArrayOutData = NULL;
  int32_T c52_u;
  const mxArray *c52_y = NULL;
  SFc52_Expriment_GazeInstanceStruct *chartInstance;
  chartInstance = (SFc52_Expriment_GazeInstanceStruct *)chartInstanceVoid;
  c52_mxArrayOutData = NULL;
  c52_u = *(int32_T *)c52_inData;
  c52_y = NULL;
  sf_mex_assign(&c52_y, sf_mex_create("y", &c52_u, 6, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c52_mxArrayOutData, c52_y, false);
  return c52_mxArrayOutData;
}
开发者ID:maryamsab,项目名称:realact,代码行数:15,代码来源:c52_Expriment_Gaze.c


示例3: sf_mex_assign

static const mxArray *c2_b_sf_marshallOut(void *chartInstanceVoid, void
  *c2_inData)
{
  const mxArray *c2_mxArrayOutData = NULL;
  int32_T c2_u;
  const mxArray *c2_y = NULL;
  SFc2_Demo_EP_IdleRandMergInstanceStruct *chartInstance;
  chartInstance = (SFc2_Demo_EP_IdleRandMergInstanceStruct *)chartInstanceVoid;
  c2_mxArrayOutData = NULL;
  c2_u = *(int32_T *)c2_inData;
  c2_y = NULL;
  sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 6, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c2_mxArrayOutData, c2_y, false);
  return c2_mxArrayOutData;
}
开发者ID:maryamsab,项目名称:realact,代码行数:15,代码来源:c2_Demo_EP_IdleRandMerg.c


示例4: sf_mex_assign

static const mxArray *c2_e_sf_marshallOut(void *chartInstanceVoid, void
  *c2_inData)
{
  const mxArray *c2_mxArrayOutData = NULL;
  int32_T c2_u;
  const mxArray *c2_y = NULL;
  SFc2_Batman_CodeInstanceStruct *chartInstance;
  chartInstance = (SFc2_Batman_CodeInstanceStruct *)chartInstanceVoid;
  c2_mxArrayOutData = NULL;
  c2_u = *(int32_T *)c2_inData;
  c2_y = NULL;
  sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 6, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c2_mxArrayOutData, c2_y, FALSE);
  return c2_mxArrayOutData;
}
开发者ID:M118-project,项目名称:M118_project,代码行数:15,代码来源:c2_Batman_Code.c


示例5: sf_mex_assign

static const mxArray *c20_c_sf_marshallOut(void *chartInstanceVoid, void
  *c20_inData)
{
  const mxArray *c20_mxArrayOutData = NULL;
  int32_T c20_u;
  const mxArray *c20_y = NULL;
  SFc20_ekffedeInstanceStruct *chartInstance;
  chartInstance = (SFc20_ekffedeInstanceStruct *)chartInstanceVoid;
  c20_mxArrayOutData = NULL;
  c20_u = *(int32_T *)c20_inData;
  c20_y = NULL;
  sf_mex_assign(&c20_y, sf_mex_create("y", &c20_u, 6, 0U, 0U, 0U, 0));
  sf_mex_assign(&c20_mxArrayOutData, c20_y);
  return c20_mxArrayOutData;
}
开发者ID:lovewubo,项目名称:foxg20_ahrs_1xx,代码行数:15,代码来源:c20_ekffede.c


示例6: sf_mex_assign

static const mxArray *c19_sf_marshallOut(void *chartInstanceVoid, void
  *c19_inData)
{
  const mxArray *c19_mxArrayOutData = NULL;
  real_T c19_u;
  const mxArray *c19_y = NULL;
  SFc19_EP_IdleRandMergInstanceStruct *chartInstance;
  chartInstance = (SFc19_EP_IdleRandMergInstanceStruct *)chartInstanceVoid;
  c19_mxArrayOutData = NULL;
  c19_u = *(real_T *)c19_inData;
  c19_y = NULL;
  sf_mex_assign(&c19_y, sf_mex_create("y", &c19_u, 0, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c19_mxArrayOutData, c19_y, false);
  return c19_mxArrayOutData;
}
开发者ID:maryamsab,项目名称:realact,代码行数:15,代码来源:c19_EP_IdleRandMerg.c


示例7: sf_mex_assign

static const mxArray *c7_d_sf_marshallOut(void *chartInstanceVoid, void
  *c7_inData)
{
  const mxArray *c7_mxArrayOutData = NULL;
  int32_T c7_u;
  const mxArray *c7_y = NULL;
  SFc7_WEC_Sim_DriverInstanceStruct *chartInstance;
  chartInstance = (SFc7_WEC_Sim_DriverInstanceStruct *)chartInstanceVoid;
  c7_mxArrayOutData = NULL;
  c7_u = *(int32_T *)c7_inData;
  c7_y = NULL;
  sf_mex_assign(&c7_y, sf_mex_create("y", &c7_u, 6, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c7_mxArrayOutData, c7_y, FALSE);
  return c7_mxArrayOutData;
}
开发者ID:adamnelessen,项目名称:Nonlinear_3.1,代码行数:15,代码来源:c7_WEC_Sim_Driver.c


示例8: sf_mex_assign

static const mxArray *c2_c_sf_marshallOut(void *chartInstanceVoid, void
  *c2_inData)
{
  const mxArray *c2_mxArrayOutData = NULL;
  real_T c2_u;
  const mxArray *c2_y = NULL;
  SFc2_QuadsimInstanceStruct *chartInstance;
  chartInstance = (SFc2_QuadsimInstanceStruct *)chartInstanceVoid;
  c2_mxArrayOutData = NULL;
  c2_u = *(real_T *)c2_inData;
  c2_y = NULL;
  sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 0, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c2_mxArrayOutData, c2_y, FALSE);
  return c2_mxArrayOutData;
}
开发者ID:Maktek-Quadrotor-Group,项目名称:maktek-quadrotor,代码行数:15,代码来源:c2_Quadsim.c


示例9: sf_mex_assign

static const mxArray *c3_sf_marshallOut(void *chartInstanceVoid, void *c3_inData)
{
  const mxArray *c3_mxArrayOutData = NULL;
  real_T c3_u;
  const mxArray *c3_y = NULL;
  SFc3_ARP_02_RPSsmile_GloveSHOREInstanceStruct *chartInstance;
  chartInstance = (SFc3_ARP_02_RPSsmile_GloveSHOREInstanceStruct *)
    chartInstanceVoid;
  c3_mxArrayOutData = NULL;
  c3_u = *(real_T *)c3_inData;
  c3_y = NULL;
  sf_mex_assign(&c3_y, sf_mex_create("y", &c3_u, 0, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c3_mxArrayOutData, c3_y, false);
  return c3_mxArrayOutData;
}
开发者ID:maryamsab,项目名称:realact,代码行数:15,代码来源:c3_ARP_02_RPSsmile_GloveSHORE.c


示例10: sf_mex_assign

static const mxArray *c4_b_sf_marshallOut(void *chartInstanceVoid, void
  *c4_inData)
{
  const mxArray *c4_mxArrayOutData = NULL;
  int32_T c4_u;
  const mxArray *c4_y = NULL;
  SFc4_varymultiswarmInstanceStruct *chartInstance;
  chartInstance = (SFc4_varymultiswarmInstanceStruct *)chartInstanceVoid;
  c4_mxArrayOutData = NULL;
  c4_u = *(int32_T *)c4_inData;
  c4_y = NULL;
  sf_mex_assign(&c4_y, sf_mex_create("y", &c4_u, 6, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c4_mxArrayOutData, c4_y, FALSE);
  return c4_mxArrayOutData;
}
开发者ID:ryangrnr,项目名称:3rd-Year-Project,代码行数:15,代码来源:c4_varymultiswarm.c


示例11: sf_mex_assign

static const mxArray *c1_c_sf_marshallOut(void *chartInstanceVoid, void
  *c1_inData)
{
  const mxArray *c1_mxArrayOutData = NULL;
  int32_T c1_u;
  const mxArray *c1_y = NULL;
  SFc1_TTR_RobustMPC_RTmdlInstanceStruct *chartInstance;
  chartInstance = (SFc1_TTR_RobustMPC_RTmdlInstanceStruct *)chartInstanceVoid;
  c1_mxArrayOutData = NULL;
  c1_u = *(int32_T *)c1_inData;
  c1_y = NULL;
  sf_mex_assign(&c1_y, sf_mex_create("y", &c1_u, 6, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c1_mxArrayOutData, c1_y, FALSE);
  return c1_mxArrayOutData;
}
开发者ID:kostas-alexis,项目名称:robust_mpc,代码行数:15,代码来源:c1_TTR_RobustMPC_RTmdl.c


示例12: sf_mex_assign

static const mxArray *c14_sf_marshallOut(void *chartInstanceVoid, void
  *c14_inData)
{
  const mxArray *c14_mxArrayOutData = NULL;
  real_T c14_u;
  const mxArray *c14_y = NULL;
  SFc14_testInstanceStruct *chartInstance;
  chartInstance = (SFc14_testInstanceStruct *)chartInstanceVoid;
  c14_mxArrayOutData = NULL;
  c14_u = *(real_T *)c14_inData;
  c14_y = NULL;
  sf_mex_assign(&c14_y, sf_mex_create("y", &c14_u, 0, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c14_mxArrayOutData, c14_y, FALSE);
  return c14_mxArrayOutData;
}
开发者ID:dittoyi,项目名称:pathfollowingRRS,代码行数:15,代码来源:c14_test.c


示例13: sf_mex_assign

static const mxArray *c5_b_sf_marshallOut(void *chartInstanceVoid, void
  *c5_inData)
{
  const mxArray *c5_mxArrayOutData = NULL;
  int32_T c5_u;
  const mxArray *c5_y = NULL;
  SFc5_testYarpReadSHOREInstanceStruct *chartInstance;
  chartInstance = (SFc5_testYarpReadSHOREInstanceStruct *)chartInstanceVoid;
  c5_mxArrayOutData = NULL;
  c5_u = *(int32_T *)c5_inData;
  c5_y = NULL;
  sf_mex_assign(&c5_y, sf_mex_create("y", &c5_u, 6, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c5_mxArrayOutData, c5_y, false);
  return c5_mxArrayOutData;
}
开发者ID:maryamsab,项目名称:realact,代码行数:15,代码来源:c5_testYarpReadSHORE.c


示例14: sf_mex_assign

static const mxArray *c2_c_sf_marshallOut(void *chartInstanceVoid, void
  *c2_inData)
{
  const mxArray *c2_mxArrayOutData = NULL;
  int32_T c2_u;
  const mxArray *c2_y = NULL;
  SFc2_SALTStabilizationInnerOuterLoopSIMInstanceStruct *chartInstance;
  chartInstance = (SFc2_SALTStabilizationInnerOuterLoopSIMInstanceStruct *)
    chartInstanceVoid;
  c2_mxArrayOutData = NULL;
  c2_u = *(int32_T *)c2_inData;
  c2_y = NULL;
  sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 6, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c2_mxArrayOutData, c2_y, FALSE);
  return c2_mxArrayOutData;
}
开发者ID:FrauBluher,项目名称:SALT,代码行数:16,代码来源:c2_SALTStabilizationInnerOuterLoopSIM.c


示例15: sf_mex_assign

static const mxArray *c7_b_sf_marshall(void *c7_chartInstance, void *c7_u)
{
  const mxArray *c7_y = NULL;
  int32_T c7_i32;
  real_T c7_b_u[4];
  const mxArray *c7_b_y = NULL;
  c7_y = NULL;
  for (c7_i32 = 0; c7_i32 < 4; c7_i32 = c7_i32 + 1) {
    c7_b_u[c7_i32] = (*((real_T (*)[4])c7_u))[c7_i32];
  }

  c7_b_y = NULL;
  sf_mex_assign(&c7_b_y, sf_mex_create("y", &c7_b_u, 0, 0U, 1U, 0U, 1, 4));
  sf_mex_assign(&c7_y, c7_b_y);
  return c7_y;
}
开发者ID:avnishks,项目名称:pratham,代码行数:16,代码来源:c7_adcs_v15_integral_Power.c


示例16: sf_mex_assign

static const mxArray *c1_d_sf_marshall(void *c1_chartInstance, void *c1_u)
{
  const mxArray *c1_y = NULL;
  int32_T c1_i0;
  uint8_T c1_b_u[37];
  const mxArray *c1_b_y = NULL;
  c1_y = NULL;
  for (c1_i0 = 0; c1_i0 < 37; c1_i0 = c1_i0 + 1) {
    c1_b_u[c1_i0] = (*((uint8_T (*)[37])c1_u))[c1_i0];
  }

  c1_b_y = NULL;
  sf_mex_assign(&c1_b_y, sf_mex_create("y", &c1_b_u, 3, 0U, 1U, 0U, 1, 37));
  sf_mex_assign(&c1_y, c1_b_y);
  return c1_y;
}
开发者ID:djulzz,项目名称:MPC-565,代码行数:16,代码来源:c1_minimalist14.c


示例17: sf_mex_assign

static const mxArray *c2_b_sf_marshallOut(void *chartInstanceVoid, void
  *c2_inData)
{
  const mxArray *c2_mxArrayOutData = NULL;
  int32_T c2_u;
  const mxArray *c2_y = NULL;
  SFc2_DYNctl_ver4_etud_nonlineaireInstanceStruct *chartInstance;
  chartInstance = (SFc2_DYNctl_ver4_etud_nonlineaireInstanceStruct *)
    chartInstanceVoid;
  c2_mxArrayOutData = NULL;
  c2_u = *(int32_T *)c2_inData;
  c2_y = NULL;
  sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 6, 0U, 0U, 0U, 0), false);
  sf_mex_assign(&c2_mxArrayOutData, c2_y, false);
  return c2_mxArrayOutData;
}
开发者ID:bmaxb,项目名称:projet_s4,代码行数:16,代码来源:c2_DYNctl_ver4_etud_nonlineaire.c


示例18: sf_mex_assign

static const mxArray *c3_c_sf_marshallOut(void *chartInstanceVoid, void
        *c3_inData)
{
    const mxArray *c3_mxArrayOutData = NULL;
    int32_T c3_u;
    const mxArray *c3_y = NULL;
    SFc3_Engine_Vehicle_CVT_Wit_System1_trial1InstanceStruct *chartInstance;
    chartInstance = (SFc3_Engine_Vehicle_CVT_Wit_System1_trial1InstanceStruct *)
                    chartInstanceVoid;
    c3_mxArrayOutData = NULL;
    c3_u = *(int32_T *)c3_inData;
    c3_y = NULL;
    sf_mex_assign(&c3_y, sf_mex_create("y", &c3_u, 6, 0U, 0U, 0U, 0), false);
    sf_mex_assign(&c3_mxArrayOutData, c3_y, false);
    return c3_mxArrayOutData;
}
开发者ID:rsutjion,项目名称:Matlab-Simulation---shared-GitHub,代码行数:16,代码来源:c3_Engine_Vehicle_CVT_Wit_System1_trial1.c


示例19: sf_mex_assign

static const mxArray *c2_b_sf_marshallOut(void *chartInstanceVoid, void
        *c2_inData)
{
    const mxArray *c2_mxArrayOutData = NULL;
    int32_T c2_u;
    const mxArray *c2_y = NULL;
    SFc2_ARP_02_RPSsmile_WirelessGloveSHOREInstanceStruct *chartInstance;
    chartInstance = (SFc2_ARP_02_RPSsmile_WirelessGloveSHOREInstanceStruct *)
                    chartInstanceVoid;
    c2_mxArrayOutData = NULL;
    c2_u = *(int32_T *)c2_inData;
    c2_y = NULL;
    sf_mex_assign(&c2_y, sf_mex_create("y", &c2_u, 6, 0U, 0U, 0U, 0), false);
    sf_mex_assign(&c2_mxArrayOutData, c2_y, false);
    return c2_mxArrayOutData;
}
开发者ID:maryamsab,项目名称:realact,代码行数:16,代码来源:c2_ARP_02_RPSsmile_WirelessGloveSHORE.c


示例20: sf_mex_assign

static const mxArray *c1_b_sf_marshallOut(void *chartInstanceVoid, void
  *c1_inData)
{
  const mxArray *c1_mxArrayOutData = NULL;
  int32_T c1_u;
  const mxArray *c1_y = NULL;
  SFc1_motor_control_with_off_the_shelf_SVPWMInstanceStruct *chartInstance;
  chartInstance = (SFc1_motor_control_with_off_the_shelf_SVPWMInstanceStruct *)
    chartInstanceVoid;
  c1_mxArrayOutData = NULL;
  c1_u = *(int32_T *)c1_inData;
  c1_y = NULL;
  sf_mex_assign(&c1_y, sf_mex_create("y", &c1_u, 6, 0U, 0U, 0U, 0), FALSE);
  sf_mex_assign(&c1_mxArrayOutData, c1_y, FALSE);
  return c1_mxArrayOutData;
}
开发者ID:drivkin,项目名称:Motor-simulation-and-reading,代码行数:16,代码来源:c1_motor_control_with_off_the_shelf_SVPWM.c



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ sf_mex_createcellarray函数代码示例发布时间:2022-05-30
下一篇:
C++ sf_mex_call_matlab函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap