static const mxArray *get_sim_state_c1_newtons_cradle (SFc1_newtons_cradleInstanceStruct *chartInstance) { const mxArray *c1_st = NULL; c1_st = NULL; sf_mex_assign(&c1_st, c1_emlrt_marshallOut(chartInstance), FALSE); return c1_st; }
static void c1_info_helper(const mxArray **c1_info) { const mxArray *c1_rhs0 = NULL; const mxArray *c1_lhs0 = NULL; const mxArray *c1_rhs1 = NULL; const mxArray *c1_lhs1 = NULL; sf_mex_addfield(*c1_info, c1_emlrt_marshallOut(""), "context", "context", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("cos"), "name", "name", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/elfun/cos.m"), "resolved", "resolved", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1343830372U), "fileTimeLo", "fileTimeLo", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 0); sf_mex_assign(&c1_rhs0, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs0, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs0), "rhs", "rhs", 0); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs0), "lhs", "lhs", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/elfun/cos.m"), "context", "context", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("eml_scalar_cos"), "name", "name", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/elfun/eml_scalar_cos.m"), "resolved", "resolved", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1286818722U), "fileTimeLo", "fileTimeLo", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 1); sf_mex_assign(&c1_rhs1, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs1, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs1), "rhs", "rhs", 1); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs1), "lhs", "lhs", 1); sf_mex_destroy(&c1_rhs0); sf_mex_destroy(&c1_lhs0); sf_mex_destroy(&c1_rhs1); sf_mex_destroy(&c1_lhs1); }
static void c1_info_helper(const mxArray **c1_info) { const mxArray *c1_rhs0 = NULL; const mxArray *c1_lhs0 = NULL; const mxArray *c1_rhs1 = NULL; const mxArray *c1_lhs1 = NULL; const mxArray *c1_rhs2 = NULL; const mxArray *c1_lhs2 = NULL; const mxArray *c1_rhs3 = NULL; const mxArray *c1_lhs3 = NULL; const mxArray *c1_rhs4 = NULL; const mxArray *c1_lhs4 = NULL; const mxArray *c1_rhs5 = NULL; const mxArray *c1_lhs5 = NULL; const mxArray *c1_rhs6 = NULL; const mxArray *c1_lhs6 = NULL; sf_mex_addfield(*c1_info, c1_emlrt_marshallOut(""), "context", "context", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("mtimes"), "name", "name", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/mtimes.m"), "resolved", "resolved", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1363713878U), "fileTimeLo", "fileTimeLo", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 0); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 0); sf_mex_assign(&c1_rhs0, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs0, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs0), "rhs", "rhs", 0); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs0), "lhs", "lhs", 0); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/mtimes.m!common_checks"), "context", "context", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "coder.internal.isBuiltInNumeric"), "name", "name", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[IXE]$matlabroot$/toolbox/shared/coder/coder/+coder/+internal/isBuiltInNumeric.m"), "resolved", "resolved", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1363714556U), "fileTimeLo", "fileTimeLo", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 1); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 1); sf_mex_assign(&c1_rhs1, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs1, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs1), "rhs", "rhs", 1); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs1), "lhs", "lhs", 1); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut(""), "context", "context", 2); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("mrdivide"), "name", "name", 2); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 2); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/mrdivide.p"), "resolved", "resolved", 2); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1373306508U), "fileTimeLo", "fileTimeLo", 2); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 2); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1319729966U), "mFileTimeLo", "mFileTimeLo", 2); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 2); sf_mex_assign(&c1_rhs2, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs2, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs2), "rhs", "rhs", 2); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs2), "lhs", "lhs", 2); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/mrdivide.p"), "context", "context", 3); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("rdivide"), "name", "name", 3); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 3); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/rdivide.m"), "resolved", "resolved", 3); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1363713880U), "fileTimeLo", "fileTimeLo", 3); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 3); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 3); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 3); sf_mex_assign(&c1_rhs3, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs3, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs3), "rhs", "rhs", 3); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs3), "lhs", "lhs", 3); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/rdivide.m"), "context", "context", 4); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "coder.internal.isBuiltInNumeric"), "name", "name", 4); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 4); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[IXE]$matlabroot$/toolbox/shared/coder/coder/+coder/+internal/isBuiltInNumeric.m"), "resolved", "resolved", 4); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1363714556U), "fileTimeLo", "fileTimeLo", 4); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 4); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 4); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 4); sf_mex_assign(&c1_rhs4, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs4, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs4), "rhs", "rhs", 4); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs4), "lhs", "lhs", 4); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/rdivide.m"), "context", "context", 5); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("eml_scalexp_compatible"), "name", "name", 5); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 5); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/eml/eml_scalexp_compatible.m"), "resolved", "resolved", 5); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1286818796U), "fileTimeLo", "fileTimeLo", 5); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 5); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 5); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 5); sf_mex_assign(&c1_rhs5, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs5, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs5), "rhs", "rhs", 5); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs5), "lhs", "lhs", 5); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/ops/rdivide.m"), "context", "context", 6); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("eml_div"), "name", "name", 6); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut("double"), "dominantType", "dominantType", 6); sf_mex_addfield(*c1_info, c1_emlrt_marshallOut( "[ILXE]$matlabroot$/toolbox/eml/lib/matlab/eml/eml_div.m"), "resolved", "resolved", 6); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(1363713866U), "fileTimeLo", "fileTimeLo", 6); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "fileTimeHi", "fileTimeHi", 6); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeLo", "mFileTimeLo", 6); sf_mex_addfield(*c1_info, c1_b_emlrt_marshallOut(0U), "mFileTimeHi", "mFileTimeHi", 6); sf_mex_assign(&c1_rhs6, sf_mex_createcellarray(0), FALSE); sf_mex_assign(&c1_lhs6, sf_mex_createcellarray(0), FALSE); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_rhs6), "rhs", "rhs", 6); sf_mex_addfield(*c1_info, sf_mex_duplicatearraysafe(&c1_lhs6), "lhs", "lhs", 6); sf_mex_destroy(&c1_rhs0); sf_mex_destroy(&c1_lhs0); sf_mex_destroy(&c1_rhs1); sf_mex_destroy(&c1_lhs1); sf_mex_destroy(&c1_rhs2); sf_mex_destroy(&c1_lhs2); sf_mex_destroy(&c1_rhs3); sf_mex_destroy(&c1_lhs3); sf_mex_destroy(&c1_rhs4); sf_mex_destroy(&c1_lhs4); sf_mex_destroy(&c1_rhs5); sf_mex_destroy(&c1_lhs5); sf_mex_destroy(&c1_rhs6); sf_mex_destroy(&c1_lhs6); }