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

C++ sf_mex_getcell函数代码示例

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

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



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

示例1: sf_mex_dup

static void set_sim_state_c9_testing_control_with_estimate
  (SFc9_testing_control_with_estimateInstanceStruct *chartInstance, const
   mxArray *c9_st)
{
  const mxArray *c9_u;
  real_T *c9_Va;
  real_T *c9_Vb;
  real_T *c9_Vc;
  c9_Vc = (real_T *)ssGetOutputPortSignal(chartInstance->S, 3);
  c9_Vb = (real_T *)ssGetOutputPortSignal(chartInstance->S, 2);
  c9_Va = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c9_doneDoubleBufferReInit = TRUE;
  c9_u = sf_mex_dup(c9_st);
  *c9_Va = c9_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c9_u, 0)),
    "Va");
  *c9_Vb = c9_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c9_u, 1)),
    "Vb");
  *c9_Vc = c9_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c9_u, 2)),
    "Vc");
  chartInstance->c9_is_active_c9_testing_control_with_estimate =
    c9_e_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c9_u, 3)),
    "is_active_c9_testing_control_with_estimate");
  sf_mex_destroy(&c9_u);
  c9_update_debugger_state_c9_testing_control_with_estimate(chartInstance);
  sf_mex_destroy(&c9_st);
}
开发者ID:drivkin,项目名称:Motor-simulation-and-reading,代码行数:26,代码来源:c9_testing_control_with_estimate.c


示例2: set_sim_state_c5_YCbCrTesting

static void set_sim_state_c5_YCbCrTesting(SFc5_YCbCrTestingInstanceStruct
  *chartInstance, const mxArray *c5_st)
{
  const mxArray *c5_u;
  real32_T c5_fv0[64];
  int32_T c5_i2;
  real32_T (*c5_out)[64];
  c5_out = (real32_T (*)[64])ssGetOutputPortSignal(chartInstance->S, 1);
  c5_u = sf_mex_dup(c5_st);
  c5_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c5_u, 0)), "out",
                      c5_fv0);
  for (c5_i2 = 0; c5_i2 < 64; c5_i2++) {
    (*c5_out)[c5_i2] = c5_fv0[c5_i2];
  }

  c5_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c5_u, 1)),
                        "prev_out", c5_fv0);
  for (c5_i2 = 0; c5_i2 < 64; c5_i2++) {
    chartInstance->c5_prev_out[c5_i2] = c5_fv0[c5_i2];
  }

  chartInstance->c5_is_active_c5_YCbCrTesting = c5_e_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c5_u, 2)),
     "is_active_c5_YCbCrTesting");
  sf_mex_destroy(&c5_u);
  sf_mex_destroy(&c5_st);
}
开发者ID:katsikas,项目名称:katsikas-repo,代码行数:27,代码来源:c5_YCbCrTesting.c


示例3: set_sim_state_c1_my_demo_ref

static void set_sim_state_c1_my_demo_ref(SFc1_my_demo_refInstanceStruct
  *chartInstance, const mxArray *c1_st)
{
  const mxArray *c1_u;
  real_T *c1_stop;
  real_T *c1_x_g;
  real_T *c1_y_g;
  c1_stop = (real_T *)ssGetOutputPortSignal(chartInstance->S, 3);
  c1_y_g = (real_T *)ssGetOutputPortSignal(chartInstance->S, 2);
  c1_x_g = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c1_doneDoubleBufferReInit = TRUE;
  c1_u = sf_mex_dup(c1_st);
  *c1_stop = c1_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c1_u,
    0)), "stop");
  *c1_x_g = c1_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c1_u,
    1)), "x_g");
  *c1_y_g = c1_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c1_u,
    2)), "y_g");
  chartInstance->c1_i = c1_emlrt_marshallIn(chartInstance, sf_mex_dup
    (sf_mex_getcell(c1_u, 3)), "i");
  chartInstance->c1_is_active_c1_my_demo_ref = c1_g_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c1_u, 4)),
     "is_active_c1_my_demo_ref");
  sf_mex_destroy(&c1_u);
  c1_update_debugger_state_c1_my_demo_ref(chartInstance);
  sf_mex_destroy(&c1_st);
}
开发者ID:OneTwoSteph,项目名称:Work,代码行数:27,代码来源:c1_my_demo_ref.c


示例4: sf_mex_dup

static void set_sim_state_c1_QPSK_Transmit_v5_w_FIFO
  (SFc1_QPSK_Transmit_v5_w_FIFOInstanceStruct *chartInstance, const mxArray
   *c1_st)
{
  const mxArray *c1_u;
  creal_T c1_dcv0[17];
  int32_T c1_i1;
  creal_T *c1_d_out;
  c1_d_out = (creal_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c1_doneDoubleBufferReInit = TRUE;
  c1_u = sf_mex_dup(c1_st);
  *c1_d_out = c1_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell
    (c1_u, 0)), "d_out");
  c1_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c1_u, 1)), "buf",
                      c1_dcv0);
  for (c1_i1 = 0; c1_i1 < 17; c1_i1++) {
    chartInstance->c1_buf[c1_i1] = c1_dcv0[c1_i1];
  }

  chartInstance->c1_is_active_c1_QPSK_Transmit_v5_w_FIFO = c1_h_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c1_u, 2)),
     "is_active_c1_QPSK_Transmit_v5_w_FIFO");
  sf_mex_destroy(&c1_u);
  c1_update_debugger_state_c1_QPSK_Transmit_v5_w_FIFO(chartInstance);
  sf_mex_destroy(&c1_st);
}
开发者ID:gnanjundiah,项目名称:capstone,代码行数:26,代码来源:c1_QPSK_Transmit_v5_w_FIFO.c


示例5: real_T

static void set_sim_state_c14_Model_justmodel
  (SFc14_Model_justmodelInstanceStruct *chartInstance, const mxArray *c14_st)
{
  const mxArray *c14_u;
  real_T c14_dv0[9];
  int32_T c14_i2;
  real_T c14_dv1[9];
  int32_T c14_i3;
  real_T (*c14_Rs)[9];
  real_T (*c14_Rst)[9];
  c14_Rst = (real_T (*)[9])ssGetOutputPortSignal(chartInstance->S, 2);
  c14_Rs = (real_T (*)[9])ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c14_doneDoubleBufferReInit = TRUE;
  c14_u = sf_mex_dup(c14_st);
  c14_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c14_u, 0)), "Rs",
                       c14_dv0);
  for (c14_i2 = 0; c14_i2 < 9; c14_i2++) {
    (*c14_Rs)[c14_i2] = c14_dv0[c14_i2];
  }

  c14_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c14_u, 1)),
                       "Rst", c14_dv1);
  for (c14_i3 = 0; c14_i3 < 9; c14_i3++) {
    (*c14_Rst)[c14_i3] = c14_dv1[c14_i3];
  }

  chartInstance->c14_is_active_c14_Model_justmodel = c14_f_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c14_u, 2)),
     "is_active_c14_Model_justmodel");
  sf_mex_destroy(&c14_u);
  c14_update_debugger_state_c14_Model_justmodel(chartInstance);
  sf_mex_destroy(&c14_st);
}
开发者ID:NTNU-MCS,项目名称:CS_EnterpriseI_archive,代码行数:33,代码来源:c14_Model_justmodel.c


示例6: set_sim_state_c1_minimalist14

static void set_sim_state_c1_minimalist14(const mxArray *c1_st)
{
  const mxArray *c1_u;
  const mxArray *c1_b_is_active_c1_minimalist14;
  uint8_T c1_u0;
  uint8_T c1_y;
  const mxArray *c1_c_is_active_c1_minimalist14;
  uint8_T c1_u1;
  uint8_T c1_b_y;
  const mxArray *c1_b_setSimStateSideEffectsInfo;
  const mxArray *c1_c_y = NULL;
  c1_u = sf_mex_dup(c1_st);
  c1_b_is_active_c1_minimalist14 = sf_mex_dup(sf_mex_getcell(c1_u, 0));
  sf_mex_import("is_active_c1_minimalist14", sf_mex_dup
                (c1_b_is_active_c1_minimalist14), &c1_u0, 1, 3, 0U, 0, 0U, 0);
  c1_y = c1_u0;
  sf_mex_destroy(&c1_b_is_active_c1_minimalist14);
  chartInstance.c1_is_active_c1_minimalist14 = c1_y;
  c1_c_is_active_c1_minimalist14 = sf_mex_dup(sf_mex_getcell(c1_u, 1));
  sf_mex_import("is_c1_minimalist14", sf_mex_dup(c1_c_is_active_c1_minimalist14),
                &c1_u1, 1, 3, 0U, 0, 0U, 0);
  c1_b_y = c1_u1;
  sf_mex_destroy(&c1_c_is_active_c1_minimalist14);
  chartInstance.c1_is_c1_minimalist14 = c1_b_y;
  c1_b_setSimStateSideEffectsInfo = sf_mex_dup(sf_mex_getcell(c1_u, 2));
  c1_c_y = NULL;
  sf_mex_assign(&c1_c_y, sf_mex_duplicatearraysafe
                (&c1_b_setSimStateSideEffectsInfo));
  sf_mex_destroy(&c1_b_setSimStateSideEffectsInfo);
  sf_mex_assign(&chartInstance.c1_setSimStateSideEffectsInfo, c1_c_y);
  sf_mex_destroy(&c1_u);
  chartInstance.c1_doSetSimStateSideEffects = 1U;
  c1_update_debugger_state_c1_minimalist14();
  sf_mex_destroy(&c1_st);
}
开发者ID:djulzz,项目名称:MPC-565,代码行数:35,代码来源:c1_minimalist14.c


示例7: set_sim_state_c4_iC_3ph_MR2

static void set_sim_state_c4_iC_3ph_MR2(SFc4_iC_3ph_MR2InstanceStruct
  *chartInstance, const mxArray *c4_st)
{
  const mxArray *c4_u;
  real_T *c4_up_a;
  real_T *c4_up_b;
  real_T *c4_up_c;
  c4_up_c = (real_T *)ssGetOutputPortSignal(chartInstance->S, 3);
  c4_up_b = (real_T *)ssGetOutputPortSignal(chartInstance->S, 2);
  c4_up_a = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c4_doneDoubleBufferReInit = TRUE;
  c4_u = sf_mex_dup(c4_st);
  *c4_up_a = c4_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c4_u,
    0)), "up_a");
  *c4_up_b = c4_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c4_u,
    1)), "up_b");
  *c4_up_c = c4_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c4_u,
    2)), "up_c");
  chartInstance->c4_is_active_c4_iC_3ph_MR2 = c4_e_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c4_u, 3)),
     "is_active_c4_iC_3ph_MR2");
  sf_mex_destroy(&c4_u);
  c4_update_debugger_state_c4_iC_3ph_MR2(chartInstance);
  sf_mex_destroy(&c4_st);
}
开发者ID:durgante,项目名称:dissertacao,代码行数:25,代码来源:c4_iC_3ph_MR2.c


示例8: real_T

static void set_sim_state_c16_Final_Project_v3b
  (SFc16_Final_Project_v3bInstanceStruct *chartInstance, const mxArray *c16_st)
{
  const mxArray *c16_u;
  real_T c16_dv0[4];
  int32_T c16_i2;
  real_T c16_dv1[9];
  int32_T c16_i3;
  real_T (*c16_R)[4];
  real_T (*c16_y)[9];
  c16_R = (real_T (*)[4])ssGetOutputPortSignal(chartInstance->S, 2);
  c16_y = (real_T (*)[9])ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c16_doneDoubleBufferReInit = TRUE;
  c16_u = sf_mex_dup(c16_st);
  c16_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c16_u, 0)), "R",
                       c16_dv0);
  for (c16_i2 = 0; c16_i2 < 4; c16_i2++) {
    (*c16_R)[c16_i2] = c16_dv0[c16_i2];
  }

  c16_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c16_u, 1)),
    "y", c16_dv1);
  for (c16_i3 = 0; c16_i3 < 9; c16_i3++) {
    (*c16_y)[c16_i3] = c16_dv1[c16_i3];
  }

  chartInstance->c16_is_active_c16_Final_Project_v3b = c16_g_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c16_u, 2)),
     "is_active_c16_Final_Project_v3b");
  sf_mex_destroy(&c16_u);
  c16_update_debugger_state_c16_Final_Project_v3b(chartInstance);
  sf_mex_destroy(&c16_st);
}
开发者ID:alexgrompone,项目名称:Cusakis,代码行数:33,代码来源:c16_Final_Project_v3b.c


示例9: set_sim_state_c2_Serial

static void set_sim_state_c2_Serial(SFc2_SerialInstanceStruct *chartInstance,
  const mxArray *c2_st)
{
  const mxArray *c2_u;
  uint8_T c2_uv0[256];
  int32_T c2_i1;
  int32_T *c2_length;
  uint8_T (*c2_data)[256];
  c2_length = (int32_T *)ssGetOutputPortSignal(chartInstance->S, 2);
  c2_data = (uint8_T (*)[256])ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c2_doneDoubleBufferReInit = true;
  c2_u = sf_mex_dup(c2_st);
  c2_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u, 0)),
                        "data", c2_uv0);
  for (c2_i1 = 0; c2_i1 < 256; c2_i1++) {
    (*c2_data)[c2_i1] = c2_uv0[c2_i1];
  }

  *c2_length = c2_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u,
    1)), "length");
  chartInstance->c2_is_active_c2_Serial = c2_f_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c2_u, 2)), "is_active_c2_Serial");
  sf_mex_destroy(&c2_u);
  c2_update_debugger_state_c2_Serial(chartInstance);
  sf_mex_destroy(&c2_st);
}
开发者ID:omcaree,项目名称:AutonomousQuadcopter,代码行数:26,代码来源:c2_Serial.c


示例10: set_sim_state_c3_aircraft_2

static void set_sim_state_c3_aircraft_2(SFc3_aircraft_2InstanceStruct
  *chartInstance, const mxArray *c3_st)
{
  const mxArray *c3_b_u;
  chartInstance->c3_doneDoubleBufferReInit = true;
  c3_b_u = sf_mex_dup(c3_st);
  *chartInstance->c3_etaLat = c3_emlrt_marshallIn(chartInstance, sf_mex_dup
    (sf_mex_getcell(c3_b_u, 0)), "etaLat");
  chartInstance->c3_is_active_c3_aircraft_2 = c3_d_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c3_b_u, 1)),
     "is_active_c3_aircraft_2");
  sf_mex_destroy(&c3_b_u);
  c3_update_debugger_state_c3_aircraft_2(chartInstance);
  sf_mex_destroy(&c3_st);
}
开发者ID:tharunprasanth,项目名称:DG_sim,代码行数:15,代码来源:c3_aircraft_2.c


示例11: set_sim_state_c4_DisplayCANMsg

static void set_sim_state_c4_DisplayCANMsg(SFc4_DisplayCANMsgInstanceStruct
  *chartInstance, const mxArray *c4_st)
{
  const mxArray *c4_u;
  chartInstance->c4_doneDoubleBufferReInit = true;
  c4_u = sf_mex_dup(c4_st);
  *chartInstance->c4_y = c4_emlrt_marshallIn(chartInstance, sf_mex_dup
    (sf_mex_getcell("y", c4_u, 0)), "y");
  chartInstance->c4_is_active_c4_DisplayCANMsg = c4_e_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell("is_active_c4_DisplayCANMsg", c4_u,
       1)), "is_active_c4_DisplayCANMsg");
  sf_mex_destroy(&c4_u);
  c4_update_debugger_state_c4_DisplayCANMsg(chartInstance);
  sf_mex_destroy(&c4_st);
}
开发者ID:khiemdo,项目名称:embedded-matlab,代码行数:15,代码来源:c4_DisplayCANMsg.c


示例12: set_sim_state_c10_hybridSysSim

static void set_sim_state_c10_hybridSysSim(SFc10_hybridSysSimInstanceStruct
  *chartInstance, const mxArray *c10_st)
{
  const mxArray *c10_u;
  chartInstance->c10_doneDoubleBufferReInit = true;
  c10_u = sf_mex_dup(c10_st);
  *chartInstance->c10_tk = c10_emlrt_marshallIn(chartInstance, sf_mex_dup
    (sf_mex_getcell(c10_u, 0)), "tk");
  chartInstance->c10_is_active_c10_hybridSysSim = c10_d_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c10_u, 1)),
     "is_active_c10_hybridSysSim");
  sf_mex_destroy(&c10_u);
  c10_update_debugger_state_c10_hybridSysSim(chartInstance);
  sf_mex_destroy(&c10_st);
}
开发者ID:Rigaro,项目名称:DirectedStudies,代码行数:15,代码来源:c10_hybridSysSim.c


示例13: set_sim_state_c7_NMPC_Controller

static void set_sim_state_c7_NMPC_Controller(SFc7_NMPC_ControllerInstanceStruct *
  chartInstance, const mxArray *c7_st)
{
  const mxArray *c7_b_u;
  chartInstance->c7_doneDoubleBufferReInit = true;
  c7_b_u = sf_mex_dup(c7_st);
  *chartInstance->c7_y = c7_emlrt_marshallIn(chartInstance, sf_mex_dup
    (sf_mex_getcell(c7_b_u, 0)), "y");
  chartInstance->c7_is_active_c7_NMPC_Controller = c7_d_emlrt_marshallIn
    (chartInstance, sf_mex_dup(sf_mex_getcell(c7_b_u, 1)),
     "is_active_c7_NMPC_Controller");
  sf_mex_destroy(&c7_b_u);
  c7_update_debugger_state_c7_NMPC_Controller(chartInstance);
  sf_mex_destroy(&c7_st);
}
开发者ID:tharunprasanth,项目名称:DG_sim,代码行数:15,代码来源:c7_NMPC_Controller.c


示例14: set_sim_state_c6_TTR_mdl

static void set_sim_state_c6_TTR_mdl(SFc6_TTR_mdlInstanceStruct *chartInstance,
  const mxArray *c6_st)
{
  const mxArray *c6_u;
  real_T *c6_u_ctrl_out;
  c6_u_ctrl_out = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c6_doneDoubleBufferReInit = TRUE;
  c6_u = sf_mex_dup(c6_st);
  *c6_u_ctrl_out = c6_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell
    (c6_u, 0)), "u_ctrl_out");
  chartInstance->c6_is_active_c6_TTR_mdl = c6_d_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c6_u, 1)), "is_active_c6_TTR_mdl");
  sf_mex_destroy(&c6_u);
  c6_update_debugger_state_c6_TTR_mdl(chartInstance);
  sf_mex_destroy(&c6_st);
}
开发者ID:kongan,项目名称:rmpc_mav,代码行数:16,代码来源:c6_TTR_mdl.c


示例15: set_sim_state_c7_ekffede

static void set_sim_state_c7_ekffede(SFc7_ekffedeInstanceStruct *chartInstance,
  const mxArray *c7_st)
{
  const mxArray *c7_u;
  real_T *c7_wave;
  c7_wave = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c7_doneDoubleBufferReInit = TRUE;
  c7_u = sf_mex_dup(c7_st);
  *c7_wave = c7_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c7_u,
    0)), "wave");
  chartInstance->c7_is_active_c7_ekffede = c7_d_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c7_u, 1)), "is_active_c7_ekffede");
  sf_mex_destroy(&c7_u);
  c7_update_debugger_state_c7_ekffede(chartInstance);
  sf_mex_destroy(&c7_st);
}
开发者ID:lovewubo,项目名称:foxg20_ahrs_1xx,代码行数:16,代码来源:c7_ekffede.c


示例16: set_sim_state_c2_TischMal2

static void set_sim_state_c2_TischMal2(SFc2_TischMal2InstanceStruct
  *chartInstance, const mxArray *c2_st)
{
  const mxArray *c2_u;
  real_T *c2_x1PP;
  c2_x1PP = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c2_doneDoubleBufferReInit = TRUE;
  c2_u = sf_mex_dup(c2_st);
  *c2_x1PP = c2_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c2_u,
    0)), "x1PP");
  chartInstance->c2_is_active_c2_TischMal2 = c2_d_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c2_u, 1)), "is_active_c2_TischMal2");
  sf_mex_destroy(&c2_u);
  c2_update_debugger_state_c2_TischMal2(chartInstance);
  sf_mex_destroy(&c2_st);
}
开发者ID:Hexren,项目名称:WS2012_MT,代码行数:16,代码来源:c2_TischMal2.c


示例17: set_sim_state_c3_RaspPiPilot

static void set_sim_state_c3_RaspPiPilot(SFc3_RaspPiPilotInstanceStruct
  *chartInstance, const mxArray *c3_st)
{
  const mxArray *c3_u;
  uint8_T *c3_result;
  c3_result = (uint8_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c3_doneDoubleBufferReInit = true;
  c3_u = sf_mex_dup(c3_st);
  *c3_result = c3_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c3_u,
    0)), "result");
  chartInstance->c3_is_active_c3_RaspPiPilot = c3_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c3_u, 1)), "is_active_c3_RaspPiPilot");
  sf_mex_destroy(&c3_u);
  c3_update_debugger_state_c3_RaspPiPilot(chartInstance);
  sf_mex_destroy(&c3_st);
}
开发者ID:omcaree,项目名称:AutonomousQuadcopter,代码行数:16,代码来源:c3_RaspPiPilot.c


示例18: set_sim_state_c9_Array

static void set_sim_state_c9_Array(SFc9_ArrayInstanceStruct *chartInstance,
  const mxArray *c9_st)
{
  const mxArray *c9_u;
  real_T *c9_I;
  c9_I = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c9_doneDoubleBufferReInit = TRUE;
  c9_u = sf_mex_dup(c9_st);
  *c9_I = c9_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c9_u, 0)),
    "I");
  chartInstance->c9_is_active_c9_Array = c9_d_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c9_u, 1)), "is_active_c9_Array");
  sf_mex_destroy(&c9_u);
  c9_update_debugger_state_c9_Array(chartInstance);
  sf_mex_destroy(&c9_st);
}
开发者ID:DavidDeYong,项目名称:Partial-Shading,代码行数:16,代码来源:c9_Array.c


示例19: set_sim_state_c1_main

static void set_sim_state_c1_main(SFc1_mainInstanceStruct *chartInstance, const
  mxArray *c1_st)
{
  const mxArray *c1_u;
  real_T *c1_y;
  c1_y = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c1_doneDoubleBufferReInit = TRUE;
  c1_u = sf_mex_dup(c1_st);
  *c1_y = c1_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c1_u, 0)),
    "y");
  chartInstance->c1_is_active_c1_main = c1_d_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c1_u, 1)), "is_active_c1_main");
  sf_mex_destroy(&c1_u);
  c1_update_debugger_state_c1_main(chartInstance);
  sf_mex_destroy(&c1_st);
}
开发者ID:JohnPicchi,项目名称:Dependable_Systems_Project,代码行数:16,代码来源:c1_main.c


示例20: set_sim_state_c6_CSE1_DP

static void set_sim_state_c6_CSE1_DP(SFc6_CSE1_DPInstanceStruct *chartInstance,
  const mxArray *c6_st)
{
  const mxArray *c6_u;
  real_T *c6_F_y;
  c6_F_y = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
  chartInstance->c6_doneDoubleBufferReInit = true;
  c6_u = sf_mex_dup(c6_st);
  *c6_F_y = c6_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c6_u, 0)),
    "F_y");
  chartInstance->c6_is_active_c6_CSE1_DP = c6_d_emlrt_marshallIn(chartInstance,
    sf_mex_dup(sf_mex_getcell(c6_u, 1)), "is_active_c6_CSE1_DP");
  sf_mex_destroy(&c6_u);
  c6_update_debugger_state_c6_CSE1_DP(chartInstance);
  sf_mex_destroy(&c6_st);
}
开发者ID:NTNU-MCS,项目名称:CS_EnterpriseI_archive,代码行数:16,代码来源:c6_CSE1_DP.c



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C++ sf_mex_import函数代码示例发布时间:2022-05-30
下一篇:
C++ sf_mex_error_message函数代码示例发布时间: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