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)
Ältere Kommentare anzeigen
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
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".
0 Kommentare
Weitere Antworten (0)
Siehe auch
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!