Bus exchange between Stateflow and Simulink
1 view (last 30 days)
Dears Matlab/Simulink users,
I would like to use Simulink buses as input and output of Stateflow. However, I can't find a good tutorial or help to share the bus definition between Simulink and Stateflow.
For example, in stateflow, I have a signal my_bus.a. Where do I have to declare the bus to retrieve the elements in Simulink?
Thnaks for your support.
Muthukumar Ganesan on 31 Jul 2022
You can define the Bus datatype in your data dictionary to be precise you can define it in your workspace. The defined datatype can be used throughout simulink and stateflow models.