フィルターのクリア

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

1 回表示 (過去 30 日間)
Vikas Raskar
Vikas Raskar 2017 年 12 月 22 日
回答済み: Muthukumar Ganesan 2022 年 8 月 1 日
I have defined message queue of size 1. In message property data size is set as 10. When try to access message data as M.data(0) matlab gives an error. How to access data element as array in stateflow message.

回答 (1 件)

Muthukumar Ganesan
Muthukumar Ganesan 2022 年 8 月 1 日
Hi,
For a Stateflow with C action language, to index arrays square brackets should be used. Ex: M.data[0]
Thanks

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by