Clear Filters
Clear Filters

How can I use data size of the message in stateflow?

1 view (last 30 days)
I have defined message queue of size 1. In message property data size is set as 10. When try to access message data as matlab gives an error. How to access data element as array in stateflow message.

Answers (1)

Muthukumar Ganesan
Muthukumar Ganesan on 1 Aug 2022
For a Stateflow with C action language, to index arrays square brackets should be used. Ex:[0]


Find more on Complex Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!