本文整理汇总了C++中sf_mex_create函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_mex_create函数的具体用法?C++ sf_mex_create怎么用?C++ sf_mex_create使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_mex_create函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}