Bus exchange between Stateflow and Simulink

조회 수: 1 (최근 30일)
Thomas LE DIOURON
Thomas LE DIOURON 2014년 4월 8일
답변: Muthukumar Ganesan 2022년 7월 31일
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.

답변 (1개)

Muthukumar Ganesan
Muthukumar Ganesan 2022년 7월 31일
Hi,
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.
https://in.mathworks.com/help/stateflow/ug/about-stateflow-structures.html
Thanks.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by