Exemple #1
0
static real_T c5_emlrt_marshallIn(SFc5_Demo_AU_VAInstanceStruct *chartInstance,
  const mxArray *c5_e, const char_T *c5_identifier)
{
  real_T c5_y;
  emlrtMsgIdentifier c5_thisId;
  c5_thisId.fIdentifier = c5_identifier;
  c5_thisId.fParent = NULL;
  c5_y = c5_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c5_e), &c5_thisId);
  sf_mex_destroy(&c5_e);
  return c5_y;
}
static real_T c5_emlrt_marshallIn
  (SFc5_MigrationBGOW_Proto6_MultiSwarmInstanceStruct *chartInstance, const
   mxArray *c5_z, const char_T *c5_identifier)
{
  real_T c5_y;
  emlrtMsgIdentifier c5_thisId;
  c5_thisId.fIdentifier = c5_identifier;
  c5_thisId.fParent = NULL;
  c5_y = c5_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c5_z), &c5_thisId);
  sf_mex_destroy(&c5_z);
  return c5_y;
}
Exemple #3
0
static void c5_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c5_mxArrayInData, const char_T *c5_varName, void *c5_outData)
{
  const mxArray *c5_e;
  const char_T *c5_identifier;
  emlrtMsgIdentifier c5_thisId;
  real_T c5_y;
  SFc5_Demo_AU_VAInstanceStruct *chartInstance;
  chartInstance = (SFc5_Demo_AU_VAInstanceStruct *)chartInstanceVoid;
  c5_e = sf_mex_dup(c5_mxArrayInData);
  c5_identifier = c5_varName;
  c5_thisId.fIdentifier = c5_identifier;
  c5_thisId.fParent = NULL;
  c5_y = c5_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c5_e), &c5_thisId);
  sf_mex_destroy(&c5_e);
  *(real_T *)c5_outData = c5_y;
  sf_mex_destroy(&c5_mxArrayInData);
}
static void c5_sf_marshallIn(void *chartInstanceVoid, const mxArray
  *c5_mxArrayInData, const char_T *c5_varName, void *c5_outData)
{
  const mxArray *c5_z;
  const char_T *c5_identifier;
  emlrtMsgIdentifier c5_thisId;
  real_T c5_y;
  SFc5_MigrationBGOW_Proto6_MultiSwarmInstanceStruct *chartInstance;
  chartInstance = (SFc5_MigrationBGOW_Proto6_MultiSwarmInstanceStruct *)
    chartInstanceVoid;
  c5_z = sf_mex_dup(c5_mxArrayInData);
  c5_identifier = c5_varName;
  c5_thisId.fIdentifier = c5_identifier;
  c5_thisId.fParent = NULL;
  c5_y = c5_b_emlrt_marshallIn(chartInstance, sf_mex_dup(c5_z), &c5_thisId);
  sf_mex_destroy(&c5_z);
  *(real_T *)c5_outData = c5_y;
  sf_mex_destroy(&c5_mxArrayInData);
}