예제 #1
0
static void c41_b_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c41_mxArrayInData, const char_T *c41_varName, void *c41_outData)
{
  const mxArray *c41_aVarTruthTableCondition_8;
  const char_T *c41_identifier;
  emlrtMsgIdentifier c41_thisId;
  boolean_T c41_y;
  SFc41_Expriment_PoseInstanceStruct *chartInstance;
  chartInstance = (SFc41_Expriment_PoseInstanceStruct *)chartInstanceVoid;
  c41_aVarTruthTableCondition_8 = sf_mex_dup(c41_mxArrayInData);
  c41_identifier = c41_varName;
  c41_thisId.fIdentifier = c41_identifier;
  c41_thisId.fParent = NULL;
  c41_y = c41_c_emlrt_marshallIn(chartInstance, sf_mex_dup
    (c41_aVarTruthTableCondition_8), &c41_thisId);
  sf_mex_destroy(&c41_aVarTruthTableCondition_8);
  *(boolean_T *)c41_outData = c41_y;
  sf_mex_destroy(&c41_mxArrayInData);
}
static void c41_b_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c41_mxArrayInData, const char_T *c41_varName, void *c41_outData)
{
  const mxArray *c41_b_sfEvent;
  const char_T *c41_identifier;
  emlrtMsgIdentifier c41_thisId;
  int32_T c41_y;
  SFc41_heart_modelInstanceStruct *chartInstance;
  chartInstance = (SFc41_heart_modelInstanceStruct *)chartInstanceVoid;
  c41_b_sfEvent = sf_mex_dup(c41_mxArrayInData);
  c41_identifier = c41_varName;
  c41_thisId.fIdentifier = c41_identifier;
  c41_thisId.fParent = NULL;
  c41_y = c41_c_emlrt_marshallIn(chartInstance, sf_mex_dup(c41_b_sfEvent),
    &c41_thisId);
  sf_mex_destroy(&c41_b_sfEvent);
  *(int32_T *)c41_outData = c41_y;
  sf_mex_destroy(&c41_mxArrayInData);
}