Syntax of a directed event broadcast in an embedded Matlab function in Stateflow

1 vue (au cours des 30 derniers jours)
Peter Wehrli
Peter Wehrli le 17 Oct 2013
Does anybody know the Syntax for a direct event broadcast in an embedded Matlab function called in Stateflow?
1.) As in stateflow the syntax is like: send(Ok, Pacer.Done)
2.) In the embedded Matlab function I am only able to broadcast the event "OK", which is an Undirected event Broadcast and will generate a Warning when executed. Writing in the code like send(Ok, Pacer.Done) or similar will produce a syntax error, as embedded Matlab does not know send(xx, yy) of Stateflow!
Nevertheless execution is fine and works, but the Warning is nasty!

Réponses (0)

Catégories

En savoir plus sur Complex Logic dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by