这篇教程C++ ssSetNotMultipleInlinable函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中ssSetNotMultipleInlinable函数的典型用法代码示例。如果您正苦于以下问题:C++ ssSetNotMultipleInlinable函数的具体用法?C++ ssSetNotMultipleInlinable怎么用?C++ ssSetNotMultipleInlinable使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了ssSetNotMultipleInlinable函数的28个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: mdlSetWorkWidths_c7_ekffedeprestatic void mdlSetWorkWidths_c7_ekffedepre(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,"ekffedepre","ekffedepre",7); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,"ekffedepre","ekffedepre",7,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,"ekffedepre", "ekffedepre",7,"gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 4, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"ekffedepre","ekffedepre",7,5); sf_mark_chart_reusable_outputs(S,"ekffedepre","ekffedepre",7,1); } sf_set_rtw_dwork_info(S,"ekffedepre","ekffedepre",7); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(2179350920U)); ssSetChecksum1(S,(3992330002U)); ssSetChecksum2(S,(3184175835U)); ssSetChecksum3(S,(534578481U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:lovewubo,项目名称:foxg20_ahrs_1xx,代码行数:34,
示例2: mdlSetWorkWidths_c20_ekffedestatic void mdlSetWorkWidths_c20_ekffede(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,"ekffede","ekffede",20); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,"ekffede","ekffede",20,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,"ekffede","ekffede",20, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"ekffede","ekffede",20,3); sf_mark_chart_reusable_outputs(S,"ekffede","ekffede",20,1); } sf_set_rtw_dwork_info(S,"ekffede","ekffede",20); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(3564003690U)); ssSetChecksum1(S,(1904739345U)); ssSetChecksum2(S,(292547652U)); ssSetChecksum3(S,(3665572922U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:lovewubo,项目名称:foxg20_ahrs_1xx,代码行数:32,
示例3: mdlSetWorkWidths_c4_Force_Renderingstatic void mdlSetWorkWidths_c4_Force_Rendering(SimStruct *S){ if(sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("Force_Rendering",4); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("Force_Rendering",4,"gatewayCannotBeInlinedMultipleTimes")); if(chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"Force_Rendering",4,1); sf_mark_chart_reusable_outputs(S,"Force_Rendering",4,1); } sf_set_rtw_dwork_info(S,"Force_Rendering",4); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } else { sf_set_sfun_dwork_info(S); } ssSetChecksum0(S,(3120693966U)); ssSetChecksum1(S,(4172049892U)); ssSetChecksum2(S,(856923551U)); ssSetChecksum3(S,(3655993862U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:ChristopherMcFaul,项目名称:Previous-Work,代码行数:30,
示例4: mdlSetWorkWidths_c11_Batman_Codestatic void mdlSetWorkWidths_c11_Batman_Code(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_Batman_Code_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,infoStruct,11); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,infoStruct,11,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,infoStruct,11, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,infoStruct,11,2); sf_mark_chart_reusable_outputs(S,infoStruct,11,1); } sf_set_rtw_dwork_info(S,infoStruct,11); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(549981816U)); ssSetChecksum1(S,(3036434405U)); ssSetChecksum2(S,(3107513212U)); ssSetChecksum3(S,(2937248005U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:M118-project,项目名称:M118_project,代码行数:32,
示例5: mdlSetWorkWidths_c1_minimalist14static void mdlSetWorkWidths_c1_minimalist14(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("minimalist14","minimalist14",1); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop("minimalist14","minimalist14",1,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("minimalist14", "minimalist14",1,"gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"minimalist14","minimalist14",1,2); } sf_set_rtw_dwork_info(S,"minimalist14","minimalist14",1); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } ssSetChecksum0(S,(2948616346U)); ssSetChecksum1(S,(3127406572U)); ssSetChecksum2(S,(2802280749U)); ssSetChecksum3(S,(3295712265U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:djulzz,项目名称:MPC-565,代码行数:29,
示例6: mdlSetWorkWidths_c2_SALTStabilizationInnerOuterLoopSIMstatic void mdlSetWorkWidths_c2_SALTStabilizationInnerOuterLoopSIM(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_SALTStabilizationInnerOuterLoopSIM_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,infoStruct,2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,infoStruct,2,1); sf_mark_chart_reusable_outputs(S,infoStruct,2,1); } sf_set_rtw_dwork_info(S,infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(736698651U)); ssSetChecksum1(S,(388711017U)); ssSetChecksum2(S,(978960088U)); ssSetChecksum3(S,(818443017U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:FrauBluher,项目名称:SALT,代码行数:32,
示例7: mdlSetWorkWidths_c2_Pedal_Interpretation_exestatic void mdlSetWorkWidths_c2_Pedal_Interpretation_exe(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("Pedal_Interpretation_exe", "Pedal_Interpretation_exe",2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop("Pedal_Interpretation_exe", "Pedal_Interpretation_exe",2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("Pedal_Interpretation_exe", "Pedal_Interpretation_exe",2,"gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { sf_mark_chart_reusable_outputs(S,"Pedal_Interpretation_exe", "Pedal_Interpretation_exe",2,2); } sf_set_rtw_dwork_info(S,"Pedal_Interpretation_exe", "Pedal_Interpretation_exe",2); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } ssSetChecksum0(S,(2404968286U)); ssSetChecksum1(S,(2595878953U)); ssSetChecksum2(S,(1527109714U)); ssSetChecksum3(S,(514011915U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:justynazander,项目名称:MiLEST,代码行数:31,
示例8: mdlSetWorkWidths_c2_tablerot_idstatic void mdlSetWorkWidths_c2_tablerot_id(SimStruct *S){ if(sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("tablerot_id","tablerot_id",2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop("tablerot_id","tablerot_id",2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("tablerot_id","tablerot_id",2,"gatewayCannotBeInlinedMultipleTimes")); if(chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"tablerot_id","tablerot_id",2,1); sf_mark_chart_reusable_outputs(S,"tablerot_id","tablerot_id",2,1); } sf_set_rtw_dwork_info(S,"tablerot_id","tablerot_id",2); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } ssSetChecksum0(S,(4018142485U)); ssSetChecksum1(S,(1432487948U)); ssSetChecksum2(S,(2934477816U)); ssSetChecksum3(S,(1928422926U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:avnishks,项目名称:btp1,代码行数:30,
示例9: mdlSetWorkWidths_c2_SATeststatic void mdlSetWorkWidths_c2_SATest(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,"SATest","SATest",2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,"SATest","SATest",2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,"SATest","SATest",2, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"SATest","SATest",2,4); sf_mark_chart_reusable_outputs(S,"SATest","SATest",2,1); } sf_set_rtw_dwork_info(S,"SATest","SATest",2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(463501616U)); ssSetChecksum1(S,(1205019772U)); ssSetChecksum2(S,(850057429U)); ssSetChecksum3(S,(757322635U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:Kheirouben,项目名称:lucas-research,代码行数:33,
示例10: mdlSetWorkWidths_c7_Pedal_Interpretation_exestatic void mdlSetWorkWidths_c7_Pedal_Interpretation_exe(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("Pedal_Interpretation_exe", "Pedal_Interpretation_exe",7); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop("Pedal_Interpretation_exe", "Pedal_Interpretation_exe",7,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("Pedal_Interpretation_exe", "Pedal_Interpretation_exe",7,"gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"Pedal_Interpretation_exe", "Pedal_Interpretation_exe",7,1); sf_mark_chart_reusable_outputs(S,"Pedal_Interpretation_exe", "Pedal_Interpretation_exe",7,1); } sf_set_rtw_dwork_info(S,"Pedal_Interpretation_exe", "Pedal_Interpretation_exe",7); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } ssSetChecksum0(S,(3486000574U)); ssSetChecksum1(S,(3964249948U)); ssSetChecksum2(S,(354999986U)); ssSetChecksum3(S,(2713834233U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:justynazander,项目名称:MiLEST,代码行数:34,
示例11: mdlSetWorkWidths_c12_ekffedeprestatic void mdlSetWorkWidths_c12_ekffedepre(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,"ekffedepre","ekffedepre",12); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,"ekffedepre","ekffedepre",12,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,"ekffedepre", "ekffedepre",12,"gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"ekffedepre","ekffedepre",12,1); sf_mark_chart_reusable_outputs(S,"ekffedepre","ekffedepre",12,1); } sf_set_rtw_dwork_info(S,"ekffedepre","ekffedepre",12); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(2616630943U)); ssSetChecksum1(S,(1438476605U)); ssSetChecksum2(S,(4191853878U)); ssSetChecksum3(S,(3756288904U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:lovewubo,项目名称:foxg20_ahrs_1xx,代码行数:30,
示例12: mdlSetWorkWidths_c61_heart_modelstatic void mdlSetWorkWidths_c61_heart_model(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_heart_model_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 61); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,61,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,61, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,61,1); } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,61); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(2120035736U)); ssSetChecksum1(S,(3253109315U)); ssSetChecksum2(S,(2363121021U)); ssSetChecksum3(S,(755904458U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:mingcongzhang,项目名称:Software-Projects-Work,代码行数:34,
示例13: mdlSetWorkWidths_c3_car_modelstatic void mdlSetWorkWidths_c3_car_model(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("car_model","car_model",3); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop("car_model","car_model",3,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("car_model","car_model",3, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"car_model","car_model",3,2); sf_mark_chart_reusable_outputs(S,"car_model","car_model",3,1); } sf_set_rtw_dwork_info(S,"car_model","car_model",3); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } ssSetChecksum0(S,(1243352367U)); ssSetChecksum1(S,(2652406795U)); ssSetChecksum2(S,(3769041910U)); ssSetChecksum3(S,(1275700U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:geniuskpj,项目名称:term-project-ae6511,代码行数:30,
示例14: mdlSetWorkWidths_c2_controller1static void mdlSetWorkWidths_c2_controller1(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,"controller1","controller1",2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,"controller1","controller1",2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S,"controller1", "controller1",2,"gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"controller1","controller1",2,1); sf_mark_chart_reusable_outputs(S,"controller1","controller1",2,1); } sf_set_rtw_dwork_info(S,"controller1","controller1",2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(3861123801U)); ssSetChecksum1(S,(477149577U)); ssSetChecksum2(S,(480688636U)); ssSetChecksum3(S,(4046025269U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:tariktosun,项目名称:TermPaper,代码行数:30,
示例15: mdlSetWorkWidths_c3_Puncture_Through_Wallstatic void mdlSetWorkWidths_c3_Puncture_Through_Wall(SimStruct *S){ if(sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { int_T chartIsInlinable = (int_T)sf_is_chart_inlinable("Puncture_Through_Wall",3); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop("Puncture_Through_Wall",3,"gatewayCannotBeInlinedMultipleTimes")); if(chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,"Puncture_Through_Wall",3,1); sf_mark_chart_reusable_outputs(S,"Puncture_Through_Wall",3,1); } sf_set_rtw_dwork_info(S,"Puncture_Through_Wall",3); ssSetHasSubFunctions(S,!(chartIsInlinable)); ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); } else { sf_set_sfun_dwork_info(S); } ssSetChecksum0(S,(851498068U)); ssSetChecksum1(S,(394555368U)); ssSetChecksum2(S,(2583960205U)); ssSetChecksum3(S,(2467641011U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:ChristopherMcFaul,项目名称:Previous-Work,代码行数:30,
示例16: mdlSetWorkWidths_c2_Ledastatic void mdlSetWorkWidths_c2_Leda(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_Leda_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,2,1); } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(1316084662U)); ssSetChecksum1(S,(985285673U)); ssSetChecksum2(S,(2889376130U)); ssSetChecksum3(S,(3426507267U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1);}
开发者ID:ingenieriaam,项目名称:Leda,代码行数:34,
示例17: mdlSetWorkWidths_c13_Final_Project_v3bstatic void mdlSetWorkWidths_c13_Final_Project_v3b(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_Final_Project_v3b_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 13); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,13,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,13, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(S,sf_get_instance_specialization(),infoStruct,13); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 4, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 5, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 6, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 7, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,13,8); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,13,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 8; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,13); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(4196323237U)); ssSetChecksum1(S,(363083250U)); ssSetChecksum2(S,(1487704290U)); ssSetChecksum3(S,(2394188969U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:alexgrompone,项目名称:Cusakis,代码行数:59,
示例18: load_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile_optimization_infostatic void mdlSetWorkWidths_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile (SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct,2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(sf_get_instance_specialization(), infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,2); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 4, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 5, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 6, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,2,7); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=0; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 7; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(1123008752U)); ssSetChecksum1(S,(2052005519U)); ssSetChecksum2(S,(1402773516U)); ssSetChecksum3(S,(1014009176U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:maryamsab,项目名称:realact,代码行数:57,
示例19: mdlSetWorkWidths_c45_Expriment_Gazestatic void mdlSetWorkWidths_c45_Expriment_Gaze(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_Expriment_Gaze_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct, 45); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(sf_get_instance_specialization(), infoStruct,45,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,45, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,45); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 4, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 5, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,45,6); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,45,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 6; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,45); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(564390947U)); ssSetChecksum1(S,(4114128404U)); ssSetChecksum2(S,(2395737836U)); ssSetChecksum3(S,(1148318102U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:maryamsab,项目名称:realact,代码行数:57,
示例20: mdlSetWorkWidths_c2_dEMO_EP_IdleRandMerg2static void mdlSetWorkWidths_c2_dEMO_EP_IdleRandMerg2(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_dEMO_EP_IdleRandMerg2_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct,2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(sf_get_instance_specialization(), infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,2); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 4, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 5, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 6, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,2,7); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=0; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 7; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(1514182145U)); ssSetChecksum1(S,(2708487299U)); ssSetChecksum2(S,(657837128U)); ssSetChecksum3(S,(4065951243U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:maryamsab,项目名称:realact,代码行数:55,
示例21: mdlSetWorkWidths_c16_HIL_model_overallstatic void mdlSetWorkWidths_c16_HIL_model_overall(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_HIL_model_overall_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 16); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,16,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,16, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(S,sf_get_instance_specialization(),infoStruct,16); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 3, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,16,4); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,16,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 4; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,16); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(2179481285U)); ssSetChecksum1(S,(1628351255U)); ssSetChecksum2(S,(521812663U)); ssSetChecksum3(S,(3310433740U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:NTNU-MCS,项目名称:CS_EnterpriseI_archive,代码行数:55,
示例22: mdlSetWorkWidths_c3_Engine_Vehicle_CVT_Wit_System1_trial1static void mdlSetWorkWidths_c3_Engine_Vehicle_CVT_Wit_System1_trial1(SimStruct * S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_Engine_Vehicle_CVT_Wit_System1_trial1_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct,3); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(sf_get_instance_specialization(), infoStruct,3,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,3, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,3); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,3,3); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,3,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 3; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,3); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(1592899985U)); ssSetChecksum1(S,(3723427659U)); ssSetChecksum2(S,(534687391U)); ssSetChecksum3(S,(1735957033U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:rsutjion,项目名称:Matlab-Simulation---shared-GitHub,代码行数:55,
示例23: load_MigrationOWBG_Proto4_1DLinear2DNonLinear_optimization_infostatic void mdlSetWorkWidths_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear (SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_MigrationOWBG_Proto4_1DLinear2DNonLinear_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(S,sf_get_instance_specialization(),infoStruct,2); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,2,2); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,2,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 2; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(1453239527U)); ssSetChecksum1(S,(2350476U)); ssSetChecksum2(S,(1800172598U)); ssSetChecksum3(S,(4112313721U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:ryangrnr,项目名称:3rd-Year-Project,代码行数:55,
示例24: mdlSetWorkWidths_c2_DSHMHittingSecondORderstatic void mdlSetWorkWidths_c2_DSHMHittingSecondORder(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_DSHMHittingSecondORder_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(S,sf_get_instance_specialization(),infoStruct,2); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 2, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,2,3); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,2,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 3; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(2481097240U)); ssSetChecksum1(S,(1523087451U)); ssSetChecksum2(S,(613111906U)); ssSetChecksum3(S,(3760754794U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:deepakgopinath,项目名称:RAS_Final,代码行数:54,
示例25: mdlSetWorkWidths_c1_VrSubsystemstatic void mdlSetWorkWidths_c1_VrSubsystem(SimStruct *S){ ssMdlUpdateIsEmpty(S, 1); if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_VrSubsystem_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct,1); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,1); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,1, "gatewayCannotBeInlinedMultipleTimes")); sf_set_chart_accesses_machine_info(S, sf_get_instance_specialization(), infoStruct, 1); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,1); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,1,1); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,1,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 1; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,1); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(886237707U)); ssSetChecksum1(S,(2201187493U)); ssSetChecksum2(S,(3980027091U)); ssSetChecksum3(S,(226916010U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSetStateSemanticsClassicAndSynchronous(S, true); ssSupportsMultipleExecInstances(S,1);}
开发者ID:davidecavezza,项目名称:simulation-hipeds,代码行数:54,
示例26: mdlSetWorkWidths_c2_mdl5static void mdlSetWorkWidths_c2_mdl5(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_mdl5_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct,2); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(sf_get_instance_specialization(), infoStruct,2,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,2, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,2); sf_mark_output_events_with_multiple_callers(S,sf_get_instance_specialization (),infoStruct,2,1); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,2,1); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,2,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 1; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,2); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(1101579204U)); ssSetChecksum1(S,(1677288660U)); ssSetChecksum2(S,(215017043U)); ssSetChecksum3(S,(165171658U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:yoshihiro-ikeda,项目名称:labfile,代码行数:53,
示例27: mdlSetWorkWidths_c9_CusakisME4901arcs2static void mdlSetWorkWidths_c9_CusakisME4901arcs2(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_CusakisME4901arcs2_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(S,sf_get_instance_specialization(),infoStruct, 9); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(S,sf_get_instance_specialization(), infoStruct,9,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop(S, sf_get_instance_specialization(),infoStruct,9, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(S,sf_get_instance_specialization(),infoStruct,9); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,9,2); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,9,3); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=3; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 2; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,9); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(705850205U)); ssSetChecksum1(S,(837732762U)); ssSetChecksum2(S,(2412611858U)); ssSetChecksum3(S,(3331960822U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:alexgrompone,项目名称:Cusakis,代码行数:53,
示例28: mdlSetWorkWidths_c39_Demo_KinectWaveWalkInvadestatic void mdlSetWorkWidths_c39_Demo_KinectWaveWalkInvade(SimStruct *S){ if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) { mxArray *infoStruct = load_Demo_KinectWaveWalkInvade_optimization_info(); int_T chartIsInlinable = (int_T)sf_is_chart_inlinable(sf_get_instance_specialization(),infoStruct, 39); ssSetStateflowIsInlinable(S,chartIsInlinable); ssSetRTWCG(S,sf_rtw_info_uint_prop(sf_get_instance_specialization(), infoStruct,39,"RTWCG")); ssSetEnableFcnIsTrivial(S,1); ssSetDisableFcnIsTrivial(S,1); ssSetNotMultipleInlinable(S,sf_rtw_info_uint_prop (sf_get_instance_specialization(),infoStruct,39, "gatewayCannotBeInlinedMultipleTimes")); sf_update_buildInfo(sf_get_instance_specialization(),infoStruct,39); if (chartIsInlinable) { ssSetInputPortOptimOpts(S, 0, SS_REUSABLE_AND_LOCAL); ssSetInputPortOptimOpts(S, 1, SS_REUSABLE_AND_LOCAL); sf_mark_chart_expressionable_inputs(S,sf_get_instance_specialization(), infoStruct,39,2); sf_mark_chart_reusable_outputs(S,sf_get_instance_specialization(), infoStruct,39,1); } { unsigned int outPortIdx; for (outPortIdx=1; outPortIdx<=1; ++outPortIdx) { ssSetOutputPortOptimizeInIR(S, outPortIdx, 1U); } } { unsigned int inPortIdx; for (inPortIdx=0; inPortIdx < 2; ++inPortIdx) { ssSetInputPortOptimizeInIR(S, inPortIdx, 1U); } } sf_set_rtw_dwork_info(S,sf_get_instance_specialization(),infoStruct,39); ssSetHasSubFunctions(S,!(chartIsInlinable)); } else { } ssSetOptions(S,ssGetOptions(S)|SS_OPTION_WORKS_WITH_CODE_REUSE); ssSetChecksum0(S,(4089941703U)); ssSetChecksum1(S,(1041175321U)); ssSetChecksum2(S,(110953528U)); ssSetChecksum3(S,(4181781999U)); ssSetmdlDerivatives(S, NULL); ssSetExplicitFCSSCtrl(S,1); ssSupportsMultipleExecInstances(S,1);}
开发者ID:maryamsab,项目名称:realact,代码行数:53,
注:本文中的ssSetNotMultipleInlinable函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ ssSetNumContStates函数代码示例 C++ ssSetInputPortWidth函数代码示例 |