For loops in stateflow
古いコメントを表示
I'm not understanding how for loops are expanded in state flow. I the chart below I'm attempting to break a 32-bit value into 8, 4-bit chunks and store them into an array. I'm expecting bits 32-29 to go in buf(1), bits 28-25 in buf(2), bits 24-21 in buf(3) and so on. However, it seems that bits 1-4 get stuffed into each element of buf. Why is this not working properly and what is the correct way to implement something like this?

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Decision Logic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!