本文整理汇总了C++中sf_set_rtw_dwork_info函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_set_rtw_dwork_info函数的具体用法?C++ sf_set_rtw_dwork_info怎么用?C++ sf_set_rtw_dwork_info使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_set_rtw_dwork_info函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: mdlSetWorkWidths_c7_ekffedepre
static 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);
}
示例2: mdlSetWorkWidths_c20_ekffede
static 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);
}
示例3: mdlSetWorkWidths_c4_Force_Rendering
static 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);
}
示例4: mdlSetWorkWidths_c11_Batman_Code
static 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);
}
示例5: mdlSetWorkWidths_c1_minimalist14
static 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);
}
示例6: mdlSetWorkWidths_c2_SALTStabilizationInnerOuterLoopSIM
static 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);
}
示例7: mdlSetWorkWidths_c2_Pedal_Interpretation_exe
static 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);
}
示例8: mdlSetWorkWidths_c2_tablerot_id
static 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);
}
示例9: mdlSetWorkWidths_c2_SATest
static 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);
}
示例10: mdlSetWorkWidths_c7_Pedal_Interpretation_exe
static 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);
}
示例11: mdlSetWorkWidths_c12_ekffedepre
static 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);
}
示例12: mdlSetWorkWidths_c61_heart_model
static 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);
}
示例13: mdlSetWorkWidths_c3_car_model
static 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);
}
示例14: mdlSetWorkWidths_c2_controller1
static 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);
}
示例15: mdlSetWorkWidths_c3_Puncture_Through_Wall
static 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);
}