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 Ansichten (letzte 30 Tage)
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 '

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
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".

Weitere Antworten (0)

Kategorien

Mehr zu Schedule Model Components finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by