Why do I receive an error using Stateflow 5.0 (R13) to generate a function-call for a function-call subsystem in Simulink 5.0 (R13)?

조회 수: 5 (최근 30일)
Why do I receive an error using Stateflow 5.0 (R13) to generate a function-call for a function-call subsystem in Simulink 5.0 (R13)?
I have a Stateflow diagram that generates function-calls to a function-call subsystem in my Simulink model. When I update the diagram or try to simulate the model, I receive the following error:
Invalid "function-call" connection
Stateflow Simulink Interface Error: Function-call trigger port of 'mymodel/Subsystem' must be driven by port 0 of S-function block 'mymodel/Chart/ SFunction '

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
This error can occur if your function-calls from Stateflow are defined as data rather than events. To correct this, you should create new events using the Stateflow Explorer. The scope property must be set as "Output to Simulink" and the trigger property must be set to "Function Call".

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by