本文整理汇总了C++中sf_mex_createstruct函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_mex_createstruct函数的具体用法?C++ sf_mex_createstruct怎么用?C++ sf_mex_createstruct使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_mex_createstruct函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: sf_mex_assign
static const mxArray *c8_sf_marshallOut(void *chartInstanceVoid, void *c8_inData)
{
const mxArray *c8_mxArrayOutData = NULL;
c8_irp_vec3 c8_u;
const mxArray *c8_y = NULL;
real_T c8_b_u;
const mxArray *c8_b_y = NULL;
real_T c8_c_u;
const mxArray *c8_c_y = NULL;
real_T c8_d_u;
const mxArray *c8_d_y = NULL;
SFc8_AllPurposeModel_TyreRelaxationInstanceStruct *chartInstance;
chartInstance = (SFc8_AllPurposeModel_TyreRelaxationInstanceStruct *)
chartInstanceVoid;
c8_mxArrayOutData = NULL;
c8_u = *(c8_irp_vec3 *)c8_inData;
c8_y = NULL;
sf_mex_assign(&c8_y, sf_mex_createstruct("structure", 2, 1, 1), false);
c8_b_u = c8_u.x;
c8_b_y = NULL;
sf_mex_assign(&c8_b_y, sf_mex_create("y", &c8_b_u, 0, 0U, 0U, 0U, 0), false);
sf_mex_addfield(c8_y, c8_b_y, "x", "x", 0);
c8_c_u = c8_u.y;
c8_c_y = NULL;
sf_mex_assign(&c8_c_y, sf_mex_create("y", &c8_c_u, 0, 0U, 0U, 0U, 0), false);
sf_mex_addfield(c8_y, c8_c_y, "y", "y", 0);
c8_d_u = c8_u.rotz;
c8_d_y = NULL;
sf_mex_assign(&c8_d_y, sf_mex_create("y", &c8_d_u, 0, 0U, 0U, 0U, 0), false);
sf_mex_addfield(c8_y, c8_d_y, "rotz", "rotz", 0);
sf_mex_assign(&c8_mxArrayOutData, c8_y, false);
return c8_mxArrayOutData;
}
示例2: c6_ResolvedFunctionInfo
const mxArray
*sf_c6_adcs_v15_integral_Power_no_charge_in_detumb_get_eml_resolved_functions_info
(void)
{
const mxArray *c6_nameCaptureInfo = NULL;
c6_ResolvedFunctionInfo c6_info[3];
c6_ResolvedFunctionInfo (*c6_b_info)[3];
const mxArray *c6_m0 = NULL;
int32_T c6_i0;
c6_ResolvedFunctionInfo *c6_r0;
c6_nameCaptureInfo = NULL;
c6_b_info = (c6_ResolvedFunctionInfo (*)[3])c6_info;
(*c6_b_info)[0].context = "";
(*c6_b_info)[0].name = "minus";
(*c6_b_info)[0].dominantType = "double";
(*c6_b_info)[0].resolved = "[B]minus";
(*c6_b_info)[0].fileLength = 0U;
(*c6_b_info)[0].fileTime1 = 0U;
(*c6_b_info)[0].fileTime2 = 0U;
(*c6_b_info)[1].context = "";
(*c6_b_info)[1].name = "plus";
(*c6_b_info)[1].dominantType = "double";
(*c6_b_info)[1].resolved = "[B]plus";
(*c6_b_info)[1].fileLength = 0U;
(*c6_b_info)[1].fileTime1 = 0U;
(*c6_b_info)[1].fileTime2 = 0U;
(*c6_b_info)[2].context = "";
(*c6_b_info)[2].name = "gt";
(*c6_b_info)[2].dominantType = "double";
(*c6_b_info)[2].resolved = "[B]gt";
(*c6_b_info)[2].fileLength = 0U;
(*c6_b_info)[2].fileTime1 = 0U;
(*c6_b_info)[2].fileTime2 = 0U;
sf_mex_assign(&c6_m0, sf_mex_createstruct("nameCaptureInfo", 1, 3));
for (c6_i0 = 0; c6_i0 < 3; c6_i0 = c6_i0 + 1) {
c6_r0 = &c6_info[c6_i0];
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", c6_r0->context, 15,
0U, 0U, 0U, 2, 1, strlen(c6_r0->context)), "context",
"nameCaptureInfo", c6_i0);
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", c6_r0->name, 15, 0U,
0U, 0U, 2, 1, strlen(c6_r0->name)), "name",
"nameCaptureInfo", c6_i0);
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", c6_r0->dominantType,
15, 0U, 0U, 0U, 2, 1, strlen(c6_r0->dominantType)),
"dominantType", "nameCaptureInfo", c6_i0);
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", c6_r0->resolved, 15,
0U, 0U, 0U, 2, 1, strlen(c6_r0->resolved)), "resolved"
, "nameCaptureInfo", c6_i0);
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", &c6_r0->fileLength,
7, 0U, 0U, 0U, 0), "fileLength", "nameCaptureInfo",
c6_i0);
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", &c6_r0->fileTime1, 7,
0U, 0U, 0U, 0), "fileTime1", "nameCaptureInfo", c6_i0);
sf_mex_addfield(c6_m0, sf_mex_create("nameCaptureInfo", &c6_r0->fileTime2, 7,
0U, 0U, 0U, 0), "fileTime2", "nameCaptureInfo", c6_i0);
}
sf_mex_assign(&c6_nameCaptureInfo, c6_m0);
return c6_nameCaptureInfo;
}
示例3: c3_info_helper
const mxArray *sf_c3_Puncture_Through_Wall_get_eml_resolved_functions_info(void)
{
const mxArray *c3_nameCaptureInfo = NULL;
c3_ResolvedFunctionInfo c3_info[50];
const mxArray *c3_m0 = NULL;
int32_T c3_i13;
c3_ResolvedFunctionInfo *c3_r0;
c3_nameCaptureInfo = NULL;
c3_info_helper(c3_info);
sf_mex_assign(&c3_m0, sf_mex_createstruct("nameCaptureInfo", 1, 50));
for(c3_i13 = 0; c3_i13 < 50; c3_i13 = c3_i13 + 1) {
c3_r0 = &c3_info[c3_i13];
sf_mex_addfield(c3_m0, sf_mex_create(c3_r0->context, "nameCaptureInfo", 13,
0U, 0U, 2, 1, strlen(c3_r0->context)), "context",
"nameCaptureInfo", c3_i13);
sf_mex_addfield(c3_m0, sf_mex_create(c3_r0->name, "nameCaptureInfo", 13, 0U,
0U, 2, 1, strlen(c3_r0->name)), "name",
"nameCaptureInfo", c3_i13);
sf_mex_addfield(c3_m0, sf_mex_create(c3_r0->dominantType, "nameCaptureInfo",
13, 0U, 0U, 2, 1, strlen(c3_r0->dominantType)),
"dominantType", "nameCaptureInfo", c3_i13);
sf_mex_addfield(c3_m0, sf_mex_create(c3_r0->resolved, "nameCaptureInfo", 13,
0U, 0U, 2, 1, strlen(c3_r0->resolved)), "resolved",
"nameCaptureInfo", c3_i13);
sf_mex_addfield(c3_m0, sf_mex_create(&c3_r0->fileLength, "nameCaptureInfo",
7, 0U, 0U, 0), "fileLength", "nameCaptureInfo", c3_i13);
sf_mex_addfield(c3_m0, sf_mex_create(&c3_r0->fileTime1, "nameCaptureInfo",
7, 0U, 0U, 0), "fileTime1", "nameCaptureInfo", c3_i13);
sf_mex_addfield(c3_m0, sf_mex_create(&c3_r0->fileTime2, "nameCaptureInfo",
7, 0U, 0U, 0), "fileTime2", "nameCaptureInfo", c3_i13);
}
sf_mex_assign(&c3_nameCaptureInfo, c3_m0);
return c3_nameCaptureInfo;
}
示例4: c1_ResolvedFunctionInfo
const mxArray *sf_c1_QPSK_Transmit_v5_w_FIFO_get_eml_resolved_functions_info
(void)
{
const mxArray *c1_nameCaptureInfo;
c1_ResolvedFunctionInfo c1_info[2];
c1_ResolvedFunctionInfo (*c1_b_info)[2];
const mxArray *c1_m0 = NULL;
int32_T c1_i17;
c1_ResolvedFunctionInfo *c1_r0;
c1_nameCaptureInfo = NULL;
c1_nameCaptureInfo = NULL;
c1_b_info = (c1_ResolvedFunctionInfo (*)[2])c1_info;
(*c1_b_info)[0].context = "";
(*c1_b_info)[0].name = "SRRC";
(*c1_b_info)[0].dominantType = "";
(*c1_b_info)[0].resolved =
"[E]C:/UCSD/Capstone/Development_Files/QPSK_Radio_Kinect_Simulink/SRRC.m";
(*c1_b_info)[0].fileTimeLo = 1366660138U;
(*c1_b_info)[0].fileTimeHi = 0U;
(*c1_b_info)[0].mFileTimeLo = 0U;
(*c1_b_info)[0].mFileTimeHi = 0U;
(*c1_b_info)[1].context = "";
(*c1_b_info)[1].name = "mtimes";
(*c1_b_info)[1].dominantType = "double";
(*c1_b_info)[1].resolved =
"[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/mtimes.m";
(*c1_b_info)[1].fileTimeLo = 1289552092U;
(*c1_b_info)[1].fileTimeHi = 0U;
(*c1_b_info)[1].mFileTimeLo = 0U;
(*c1_b_info)[1].mFileTimeHi = 0U;
sf_mex_assign(&c1_m0, sf_mex_createstruct("nameCaptureInfo", 1, 2), FALSE);
for (c1_i17 = 0; c1_i17 < 2; c1_i17++) {
c1_r0 = &c1_info[c1_i17];
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", c1_r0->context, 15,
0U, 0U, 0U, 2, 1, strlen(c1_r0->context)), "context", "nameCaptureInfo",
c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", c1_r0->name, 15, 0U,
0U, 0U, 2, 1, strlen(c1_r0->name)), "name", "nameCaptureInfo", c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", c1_r0->dominantType,
15, 0U, 0U, 0U, 2, 1, strlen(c1_r0->dominantType)), "dominantType",
"nameCaptureInfo", c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", c1_r0->resolved, 15,
0U, 0U, 0U, 2, 1, strlen(c1_r0->resolved)), "resolved", "nameCaptureInfo",
c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", &c1_r0->fileTimeLo,
7, 0U, 0U, 0U, 0), "fileTimeLo", "nameCaptureInfo", c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", &c1_r0->fileTimeHi,
7, 0U, 0U, 0U, 0), "fileTimeHi", "nameCaptureInfo", c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", &c1_r0->mFileTimeLo,
7, 0U, 0U, 0U, 0), "mFileTimeLo", "nameCaptureInfo", c1_i17);
sf_mex_addfield(c1_m0, sf_mex_create("nameCaptureInfo", &c1_r0->mFileTimeHi,
7, 0U, 0U, 0U, 0), "mFileTimeHi", "nameCaptureInfo", c1_i17);
}
sf_mex_assign(&c1_nameCaptureInfo, c1_m0, FALSE);
sf_mex_emlrtNameCapturePostProcessR2012a(&c1_nameCaptureInfo);
return c1_nameCaptureInfo;
}
示例5: c2_ResolvedFunctionInfo
const mxArray *sf_c2_SATest_get_eml_resolved_functions_info(void)
{
const mxArray *c2_nameCaptureInfo = NULL;
c2_ResolvedFunctionInfo c2_info[3];
c2_ResolvedFunctionInfo (*c2_b_info)[3];
const mxArray *c2_m0 = NULL;
int32_T c2_i0;
c2_ResolvedFunctionInfo *c2_r0;
c2_nameCaptureInfo = NULL;
c2_b_info = (c2_ResolvedFunctionInfo (*)[3])c2_info;
(*c2_b_info)[0].context = "";
(*c2_b_info)[0].name = "eq";
(*c2_b_info)[0].dominantType = "double";
(*c2_b_info)[0].resolved = "[B]eq";
(*c2_b_info)[0].fileLength = 0U;
(*c2_b_info)[0].fileTime1 = 0U;
(*c2_b_info)[0].fileTime2 = 0U;
(*c2_b_info)[1].context = "";
(*c2_b_info)[1].name = "lt";
(*c2_b_info)[1].dominantType = "double";
(*c2_b_info)[1].resolved = "[B]lt";
(*c2_b_info)[1].fileLength = 0U;
(*c2_b_info)[1].fileTime1 = 0U;
(*c2_b_info)[1].fileTime2 = 0U;
(*c2_b_info)[2].context = "";
(*c2_b_info)[2].name = "plus";
(*c2_b_info)[2].dominantType = "double";
(*c2_b_info)[2].resolved = "[B]plus";
(*c2_b_info)[2].fileLength = 0U;
(*c2_b_info)[2].fileTime1 = 0U;
(*c2_b_info)[2].fileTime2 = 0U;
sf_mex_assign(&c2_m0, sf_mex_createstruct("nameCaptureInfo", 1, 3));
for (c2_i0 = 0; c2_i0 < 3; c2_i0 = c2_i0 + 1) {
c2_r0 = &c2_info[c2_i0];
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", c2_r0->context, 15,
0U, 0U, 0U, 2, 1, strlen(c2_r0->context)), "context",
"nameCaptureInfo", c2_i0);
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", c2_r0->name, 15, 0U,
0U, 0U, 2, 1, strlen(c2_r0->name)), "name",
"nameCaptureInfo", c2_i0);
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", c2_r0->dominantType,
15, 0U, 0U, 0U, 2, 1, strlen(c2_r0->dominantType)),
"dominantType", "nameCaptureInfo", c2_i0);
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", c2_r0->resolved, 15,
0U, 0U, 0U, 2, 1, strlen(c2_r0->resolved)), "resolved"
, "nameCaptureInfo", c2_i0);
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", &c2_r0->fileLength,
7, 0U, 0U, 0U, 0), "fileLength", "nameCaptureInfo",
c2_i0);
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", &c2_r0->fileTime1, 7,
0U, 0U, 0U, 0), "fileTime1", "nameCaptureInfo", c2_i0);
sf_mex_addfield(c2_m0, sf_mex_create("nameCaptureInfo", &c2_r0->fileTime2, 7,
0U, 0U, 0U, 0), "fileTime2", "nameCaptureInfo", c2_i0);
}
sf_mex_assign(&c2_nameCaptureInfo, c2_m0);
return c2_nameCaptureInfo;
}
示例6: 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;
}
示例7: 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;
}
示例8: sf_mex_assign
const mxArray *sf_c40_Demo_Glove_get_eml_resolved_functions_info(void)
{
const mxArray *c40_nameCaptureInfo = NULL;
c40_nameCaptureInfo = NULL;
sf_mex_assign(&c40_nameCaptureInfo, sf_mex_createstruct("structure", 2, 3, 1),
false);
c40_info_helper(&c40_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c40_nameCaptureInfo);
return c40_nameCaptureInfo;
}
示例9: sf_mex_assign
const mxArray *sf_c2_Expriment_Pose_get_eml_resolved_functions_info(void)
{
const mxArray *c2_nameCaptureInfo = NULL;
c2_nameCaptureInfo = NULL;
sf_mex_assign(&c2_nameCaptureInfo, sf_mex_createstruct("structure", 2, 1, 1),
false);
c2_info_helper(&c2_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c2_nameCaptureInfo);
return c2_nameCaptureInfo;
}
示例10: 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;
}
示例11: 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;
}
示例12: sf_mex_assign
const mxArray *sf_c6_CSE1_DP_get_eml_resolved_functions_info(void)
{
const mxArray *c6_nameCaptureInfo = NULL;
c6_nameCaptureInfo = NULL;
sf_mex_assign(&c6_nameCaptureInfo, sf_mex_createstruct("structure", 2, 11, 1),
false);
c6_info_helper(&c6_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c6_nameCaptureInfo);
return c6_nameCaptureInfo;
}
示例13: sf_mex_assign
const mxArray *sf_c3_V2A1_2_get_eml_resolved_functions_info(void)
{
const mxArray *c3_nameCaptureInfo = NULL;
c3_nameCaptureInfo = NULL;
sf_mex_assign(&c3_nameCaptureInfo, sf_mex_createstruct("structure", 2, 11, 1),
FALSE);
c3_info_helper(&c3_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c3_nameCaptureInfo);
return c3_nameCaptureInfo;
}
示例14: c31_ResolvedFunctionInfo
const mxArray
*sf_c31_adcs_v15_integral_Power_nom_get_eml_resolved_functions_info(void)
{
const mxArray *c31_nameCaptureInfo = NULL;
c31_ResolvedFunctionInfo c31_info[2];
c31_ResolvedFunctionInfo (*c31_b_info)[2];
const mxArray *c31_m0 = NULL;
int32_T c31_i0;
c31_ResolvedFunctionInfo *c31_r0;
c31_nameCaptureInfo = NULL;
c31_b_info = (c31_ResolvedFunctionInfo (*)[2])c31_info;
(*c31_b_info)[0].context = "";
(*c31_b_info)[0].name = "gt";
(*c31_b_info)[0].dominantType = "double";
(*c31_b_info)[0].resolved = "[B]gt";
(*c31_b_info)[0].fileLength = 0U;
(*c31_b_info)[0].fileTime1 = 0U;
(*c31_b_info)[0].fileTime2 = 0U;
(*c31_b_info)[1].context = "";
(*c31_b_info)[1].name = "eq";
(*c31_b_info)[1].dominantType = "double";
(*c31_b_info)[1].resolved = "[B]eq";
(*c31_b_info)[1].fileLength = 0U;
(*c31_b_info)[1].fileTime1 = 0U;
(*c31_b_info)[1].fileTime2 = 0U;
sf_mex_assign(&c31_m0, sf_mex_createstruct("nameCaptureInfo", 1, 2));
for (c31_i0 = 0; c31_i0 < 2; c31_i0 = c31_i0 + 1) {
c31_r0 = &c31_info[c31_i0];
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo", c31_r0->context, 15,
0U, 0U, 0U, 2, 1, strlen(c31_r0->context)), "context"
, "nameCaptureInfo", c31_i0);
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo", c31_r0->name, 15,
0U, 0U, 0U, 2, 1, strlen(c31_r0->name)), "name",
"nameCaptureInfo", c31_i0);
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo",
c31_r0->dominantType, 15, 0U, 0U, 0U, 2, 1, strlen(c31_r0->dominantType)),
"dominantType", "nameCaptureInfo", c31_i0);
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo", c31_r0->resolved,
15, 0U, 0U, 0U, 2, 1, strlen(c31_r0->resolved)),
"resolved", "nameCaptureInfo", c31_i0);
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo", &c31_r0->fileLength,
7, 0U, 0U, 0U, 0), "fileLength", "nameCaptureInfo",
c31_i0);
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo", &c31_r0->fileTime1,
7, 0U, 0U, 0U, 0), "fileTime1", "nameCaptureInfo",
c31_i0);
sf_mex_addfield(c31_m0, sf_mex_create("nameCaptureInfo", &c31_r0->fileTime2,
7, 0U, 0U, 0U, 0), "fileTime2", "nameCaptureInfo",
c31_i0);
}
sf_mex_assign(&c31_nameCaptureInfo, c31_m0);
return c31_nameCaptureInfo;
}
示例15: sf_mex_assign
const mxArray
*sf_c2_ARP_02_RPSsmile_WirelessGloveSHORE_get_eml_resolved_functions_info(void)
{
const mxArray *c2_nameCaptureInfo = NULL;
c2_nameCaptureInfo = NULL;
sf_mex_assign(&c2_nameCaptureInfo, sf_mex_createstruct("structure", 2, 1, 1),
false);
c2_info_helper(&c2_nameCaptureInfo);
sf_mex_emlrtNameCapturePostProcessR2012a(&c2_nameCaptureInfo);
return c2_nameCaptureInfo;
}