Array of structures in stateflow

5 views (last 30 days)
Nagaraju boya
Nagaraju boya on 6 Jun 2018
Answered: Muthukumar Ganesan on 28 Jul 2022
Hi, I need to implement array of structures in stateflow. My requirement is one structure is input and output is array of structure to stateflow. One of the structure element is index. Based upon index(input structure) need to update the respective structure(output structures) in array of structures. Please help how can i implement in stateflow. Does stateflow supports arrary of structures.
Please help.
  1 Comment
Chetna Jain
Chetna Jain on 8 Jun 2018
Please check shipping example of Simulink: sfbus_demo
Also, refer to following documentation page for more details : https://www.mathworks.com/help/stateflow/ug/defining-stateflow-structures.html

Sign in to comment.

Answers (1)

Muthukumar Ganesan
Muthukumar Ganesan on 28 Jul 2022
Hi,
Please refer to this thread.
Thanks.

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!