本文整理汇总了C++中sf_mex_assign函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_mex_assign函数的具体用法?C++ sf_mex_assign怎么用?C++ sf_mex_assign使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_mex_assign函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: c9_e_emlrt_marshallIn
static cint16_T c9_e_emlrt_marshallIn(SFc9_QPSK_Transmit_v12dInstanceStruct
*chartInstance, const mxArray *c9_u, const emlrtMsgIdentifier *c9_parentId)
{
cint16_T c9_y;
const mxArray *c9_mxFi = NULL;
const mxArray *c9_mxInt = NULL;
cint16_T c9_ic1;
sf_mex_check_fi(c9_parentId, c9_u, 1, 0U, 0, c9_c_eml_mx, c9_b_eml_mx);
sf_mex_assign(&c9_mxFi, sf_mex_dup(c9_u), FALSE);
sf_mex_assign(&c9_mxInt, sf_mex_call("simulinkarray", 1U, 1U, 14, sf_mex_dup
(c9_mxFi)), FALSE);
sf_mex_import(c9_parentId, sf_mex_dup(c9_mxInt), &c9_ic1, 1, 4, 1U, 0, 0U, 0);
sf_mex_destroy(&c9_mxFi);
sf_mex_destroy(&c9_mxInt);
c9_y = c9_ic1;
sf_mex_destroy(&c9_u);
return c9_y;
}
开发者ID:gnanjundiah,项目名称:capstone,代码行数:18,代码来源:c9_QPSK_Transmit_v12d.c
示例2: sf_mex_assign
const mxArray *sf_c6_DemoGazeFollowWaveIdleRand_get_eml_resolved_functions_info
(void)
{
const mxArray *c6_nameCaptureInfo = NULL;
c6_nameCaptureInfo = NULL;
sf_mex_assign(&c6_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1), false);
return c6_nameCaptureInfo;
}
开发者ID:maryamsab,项目名称:realact,代码行数:9,代码来源:c6_DemoGazeFollowWaveIdleRand.c
示例3: sf_mex_assign
const mxArray *sf_c2_Pedal_Interpretation_exe_get_eml_resolved_functions_info
(void)
{
const mxArray *c2_nameCaptureInfo = NULL;
c2_nameCaptureInfo = NULL;
sf_mex_assign(&c2_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1));
return c2_nameCaptureInfo;
}
开发者ID:justynazander,项目名称:MiLEST,代码行数:9,代码来源:c2_Pedal_Interpretation_exe.c
示例4: sf_mex_assign
const mxArray *sf_c8_AtomicGloveBradImitateSmile_get_eml_resolved_functions_info
(void)
{
const mxArray *c8_nameCaptureInfo = NULL;
c8_nameCaptureInfo = NULL;
sf_mex_assign(&c8_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1), false);
return c8_nameCaptureInfo;
}
开发者ID:maryamsab,项目名称:realact,代码行数:9,代码来源:c8_AtomicGloveBradImitateSmile.c
示例5: sf_c2_linearproto
static void sf_c2_linearproto(SFc2_linearprotoInstanceStruct *chartInstance)
{
real_T c2_hoistedGlobal;
real_T c2_x;
uint32_T c2_debug_family_var_map[4];
real_T c2_nargin = 1.0;
real_T c2_nargout = 1.0;
real_T c2_y;
real_T c2_b;
real_T c2_b_y;
real_T c2_u;
const mxArray *c2_c_y = NULL;
real_T *c2_b_x;
real_T *c2_d_y;
c2_d_y = (real_T *)ssGetOutputPortSignal(chartInstance->S, 1);
c2_b_x = (real_T *)ssGetInputPortSignal(chartInstance->S, 0);
_sfTime_ = (real_T)ssGetT(chartInstance->S);
_SFD_CC_CALL(CHART_ENTER_SFUNCTION_TAG, 0U, chartInstance->c2_sfEvent);
_SFD_DATA_RANGE_CHECK(*c2_b_x, 0U);
_SFD_DATA_RANGE_CHECK(*c2_d_y, 1U);
chartInstance->c2_sfEvent = CALL_EVENT;
_SFD_CC_CALL(CHART_ENTER_DURING_FUNCTION_TAG, 0U, chartInstance->c2_sfEvent);
c2_hoistedGlobal = *c2_b_x;
c2_x = c2_hoistedGlobal;
_SFD_SYMBOL_SCOPE_PUSH_EML(0U, 4U, 4U, c2_debug_family_names,
c2_debug_family_var_map);
_SFD_SYMBOL_SCOPE_ADD_EML_IMPORTABLE(&c2_nargin, 0U, c2_sf_marshallOut,
c2_sf_marshallIn);
_SFD_SYMBOL_SCOPE_ADD_EML_IMPORTABLE(&c2_nargout, 1U, c2_sf_marshallOut,
c2_sf_marshallIn);
_SFD_SYMBOL_SCOPE_ADD_EML(&c2_x, 2U, c2_sf_marshallOut);
_SFD_SYMBOL_SCOPE_ADD_EML_IMPORTABLE(&c2_y, 3U, c2_sf_marshallOut,
c2_sf_marshallIn);
CV_EML_FCN(0, 0);
_SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 4);
if (CV_EML_IF(0, 1, 0, c2_x < 0.9)) {
_SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 6);
c2_b = c2_x;
c2_b_y = 13.8125 * c2_b;
c2_y = c2_b_y - 9.93;
sf_mex_printf("%s =\\n", "y");
c2_u = c2_y;
c2_c_y = NULL;
sf_mex_assign(&c2_c_y, sf_mex_create("y", &c2_u, 0, 0U, 0U, 0U, 0), FALSE);
sf_mex_call_debug("disp", 0U, 1U, 14, c2_c_y);
} else {
_SFD_EML_CALL(0U, chartInstance->c2_sfEvent, 9);
c2_y = 2.5;
}
_SFD_EML_CALL(0U, chartInstance->c2_sfEvent, -9);
_SFD_SYMBOL_SCOPE_POP();
*c2_d_y = c2_y;
_SFD_CC_CALL(EXIT_OUT_OF_FUNCTION_TAG, 0U, chartInstance->c2_sfEvent);
_SFD_CHECK_FOR_STATE_INCONSISTENCY(_linearprotoMachineNumber_,
chartInstance->chartNumber, chartInstance->instanceNumber);
}
开发者ID:ryangrnr,项目名称:3rd-Year-Project,代码行数:57,代码来源:c2_linearproto.c
示例6: sf_mex_assign
const mxArray
*sf_c1_Engine_Vehicle_CVT_RS_System2_get_eml_resolved_functions_info(void)
{
const mxArray *c1_nameCaptureInfo = NULL;
c1_nameCaptureInfo = NULL;
sf_mex_assign(&c1_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1), false);
return c1_nameCaptureInfo;
}
开发者ID:rsutjion,项目名称:Matlab-Simulation---shared-GitHub,代码行数:9,代码来源:c1_Engine_Vehicle_CVT_RS_System2.c
示例7: sf_mex_assign
const mxArray *sf_c14_ARP_02_RPSs_Bdr_GK_BIS5_get_eml_resolved_functions_info
(void)
{
const mxArray *c14_nameCaptureInfo = NULL;
c14_nameCaptureInfo = NULL;
sf_mex_assign(&c14_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1), false);
return c14_nameCaptureInfo;
}
开发者ID:maryamsab,项目名称:realact,代码行数:9,代码来源:c14_ARP_02_RPSs_Bdr_GK_BIS5.c
示例8: sf_mex_assign
static const mxArray *c2_c_sf_marshall(void *chartInstanceVoid, void *c2_u)
{
const mxArray *c2_y = NULL;
int32_T c2_i20;
real_T c2_b_u[3];
const mxArray *c2_b_y = NULL;
SFc2_car_modelInstanceStruct *chartInstance;
chartInstance = (SFc2_car_modelInstanceStruct *)chartInstanceVoid;
c2_y = NULL;
for (c2_i20 = 0; c2_i20 < 3; c2_i20 = c2_i20 + 1) {
c2_b_u[c2_i20] = (*((real_T (*)[3])c2_u))[c2_i20];
}
c2_b_y = NULL;
sf_mex_assign(&c2_b_y, sf_mex_create("y", &c2_b_u, 0, 0U, 1U, 0U, 1, 3));
sf_mex_assign(&c2_y, c2_b_y);
return c2_y;
}
开发者ID:geniuskpj,项目名称:term-project-ae6511,代码行数:18,代码来源:c2_car_model.c
示例9: sf_mex_assign
static const mxArray *c61_i_emlrt_marshallIn(SFc61_heart_modelInstanceStruct
*chartInstance, const mxArray *c61_u, const emlrtMsgIdentifier *c61_parentId)
{
const mxArray *c61_y = NULL;
c61_y = NULL;
sf_mex_assign(&c61_y, sf_mex_duplicatearraysafe(&c61_u), FALSE);
sf_mex_destroy(&c61_u);
return c61_y;
}
开发者ID:mingcongzhang,项目名称:Software-Projects-Work,代码行数:9,代码来源:c61_heart_model.c
示例10: sf_mex_assign
static const mxArray *c2_d_emlrt_marshallIn(SFc2_sf_newtons_cradleInstanceStruct
*chartInstance, const mxArray *c2_u, const emlrtMsgIdentifier *c2_parentId)
{
const mxArray *c2_y = NULL;
c2_y = NULL;
sf_mex_assign(&c2_y, sf_mex_duplicatearraysafe(&c2_u), FALSE);
sf_mex_destroy(&c2_u);
return c2_y;
}
开发者ID:exodaniel,项目名称:Vitrified-Code,代码行数:9,代码来源:c2_sf_newtons_cradle.c
示例11: sf_mex_assign
const mxArray *sf_c39_Demo_KinectWaveWalkInvade_get_eml_resolved_functions_info
(void)
{
const mxArray *c39_nameCaptureInfo = NULL;
c39_nameCaptureInfo = NULL;
sf_mex_assign(&c39_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1), false);
return c39_nameCaptureInfo;
}
开发者ID:maryamsab,项目名称:realact,代码行数:9,代码来源:c39_Demo_KinectWaveWalkInvade.c
示例12: sf_mex_assign
static const mxArray *c3_b_sf_marshallOut(void *chartInstanceVoid, void
*c3_inData)
{
const mxArray *c3_mxArrayOutData = NULL;
int32_T c3_u;
const mxArray *c3_y = NULL;
SFc3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmileInstanceStruct
*chartInstance;
chartInstance =
(SFc3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmileInstanceStruct *)
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:maryamsab,项目名称:realact,代码行数:18,代码来源:c3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmile.c
示例13: sf_mex_assign
const mxArray
*sf_c3_ARP_02_RPSsmile_Glove_atomicError_get_eml_resolved_functions_info(void)
{
const mxArray *c3_nameCaptureInfo = NULL;
c3_nameCaptureInfo = NULL;
sf_mex_assign(&c3_nameCaptureInfo, sf_mex_create("nameCaptureInfo", NULL, 0,
0U, 1U, 0U, 2, 0, 1), false);
return c3_nameCaptureInfo;
}
开发者ID:maryamsab,项目名称:realact,代码行数:9,代码来源:c3_ARP_02_RPSsmile_Glove_atomicError.c
示例14: sf_mex_assign
static const mxArray *c4_b_sf_marshallOut(void *chartInstanceVoid, void
*c4_inData)
{
const mxArray *c4_mxArrayOutData = NULL;
int32_T c4_i4;
uint8_T c4_u[2];
const mxArray *c4_b_y = NULL;
SFc4_DisplayCANMsgInstanceStruct *chartInstance;
chartInstance = (SFc4_DisplayCANMsgInstanceStruct *)chartInstanceVoid;
c4_mxArrayOutData = NULL;
for (c4_i4 = 0; c4_i4 < 2; c4_i4++) {
c4_u[c4_i4] = (*(uint8_T (*)[2])c4_inData)[c4_i4];
}
c4_b_y = NULL;
sf_mex_assign(&c4_b_y, sf_mex_create("y", c4_u, 3, 0U, 1U, 0U, 1, 2), false);
sf_mex_assign(&c4_mxArrayOutData, c4_b_y, false);
return c4_mxArrayOutData;
}
开发者ID:khiemdo,项目名称:embedded-matlab,代码行数:19,代码来源:c4_DisplayCANMsg.c
示例15: sf_mex_assign
static const mxArray *c1_sf_marshallOut(void *chartInstanceVoid, void *c1_inData)
{
const mxArray *c1_mxArrayOutData = NULL;
real_T c1_u;
const mxArray *c1_y = NULL;
SFc1_my_demo_refInstanceStruct *chartInstance;
chartInstance = (SFc1_my_demo_refInstanceStruct *)chartInstanceVoid;
c1_mxArrayOutData = NULL;
c1_u = *(real_T *)c1_inData;
c1_y = NULL;
if (!chartInstance->c1_i_not_empty) {
sf_mex_assign(&c1_y, sf_mex_create("y", NULL, 0, 0U, 1U, 0U, 2, 0, 0), FALSE);
} else {
sf_mex_assign(&c1_y, sf_mex_create("y", &c1_u, 0, 0U, 0U, 0U, 0), FALSE);
}
sf_mex_assign(&c1_mxArrayOutData, c1_y, FALSE);
return c1_mxArrayOutData;
}
开发者ID:OneTwoSteph,项目名称:Work,代码行数:19,代码来源:c1_my_demo_ref.c
示例16: sf_mex_assign
const mxArray *sf_c10_hybridSysSim_get_eml_resolved_functions_info(void)
{
const mxArray *c10_nameCaptureInfo = NULL;
c10_nameCaptureInfo = NULL;
sf_mex_assign(&c10_nameCaptureInfo, sf_mex_createstruct("structure", 2, 7, 1),
false);
c10_info_helper(&c10_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c10_nameCaptureInfo);
return c10_nameCaptureInfo;
}
开发者ID:Rigaro,项目名称:DirectedStudies,代码行数:10,代码来源:c10_hybridSysSim.c
示例17: sf_mex_assign
const mxArray *sf_c7_aircraft_simplex_get_eml_resolved_functions_info(void)
{
const mxArray *c7_nameCaptureInfo = NULL;
c7_nameCaptureInfo = NULL;
sf_mex_assign(&c7_nameCaptureInfo, sf_mex_createstruct("structure", 2, 4, 1),
false);
c7_info_helper(&c7_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c7_nameCaptureInfo);
return c7_nameCaptureInfo;
}
开发者ID:tharunprasanth,项目名称:DG_sim,代码行数:10,代码来源:c7_aircraft_simplex.c
示例18: sf_mex_assign
static const mxArray *c2_sf_marshall(void *chartInstanceVoid, void *c2_u)
{
const mxArray *c2_y = NULL;
real_T c2_b_u;
const mxArray *c2_b_y = NULL;
SFc2_SATestInstanceStruct *chartInstance;
chartInstance = (SFc2_SATestInstanceStruct *)chartInstanceVoid;
c2_y = NULL;
c2_b_u = *((real_T *)c2_u);
c2_b_y = NULL;
if (!chartInstance->c2_j_not_empty) {
sf_mex_assign(&c2_b_y, sf_mex_create("y", NULL, 0, 0U, 1U, 0U, 2, 0, 0));
} else {
sf_mex_assign(&c2_b_y, sf_mex_create("y", &c2_b_u, 0, 0U, 0U, 0U, 0));
}
sf_mex_assign(&c2_y, c2_b_y);
return c2_y;
}
开发者ID:Kheirouben,项目名称:lucas-research,代码行数:19,代码来源:c2_SATest.c
示例19: sf_mex_assign
const mxArray *sf_c2_DSHMHittingSecondORder_get_eml_resolved_functions_info(void)
{
const mxArray *c2_nameCaptureInfo = NULL;
c2_nameCaptureInfo = NULL;
sf_mex_assign(&c2_nameCaptureInfo, sf_mex_createstruct("structure", 2, 5, 1),
FALSE);
c2_info_helper(&c2_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c2_nameCaptureInfo);
return c2_nameCaptureInfo;
}
开发者ID:deepakgopinath,项目名称:RAS_Final,代码行数:10,代码来源:c2_DSHMHittingSecondORder.c
示例20: sf_mex_assign
const mxArray *sf_c3_Ensayos_Friccion_get_eml_resolved_functions_info(void)
{
const mxArray *c3_nameCaptureInfo = NULL;
c3_nameCaptureInfo = NULL;
sf_mex_assign(&c3_nameCaptureInfo, sf_mex_createstruct("structure", 2, 7, 1),
false);
c3_info_helper(&c3_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c3_nameCaptureInfo);
return c3_nameCaptureInfo;
}
开发者ID:ssernap,项目名称:T_SM,代码行数:10,代码来源:c3_Ensayos_Friccion.c
注:本文中的sf_mex_assign函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论