Stateflow array of buses
显示 更早的评论
Hello,
i have working Matlab code with a section of it like this:
coefs(1).c = a1;
coefs(2).c = a2;
coefs(3).c = a3;
where
a1, a2, a3
are 2x6 arrays.
Now I wanted to implement this in a stateflow diagramm but I can't figure out how to define the bus for stateflow.

the corresponding stateflow code is like the above code and the datatyp of the variable "coefs" is "COEFS".
Valentin
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 View and Analyze Simulation Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!