Stateflow: Mapping bus element to input of atomic subchart?

1 view (last 30 days)
I have a Stateflow chart (C1) which includes 2 atomic subcharts, ATOM1 and ATOM2. All of my inputs to C1 are passed via a bus input variable (Enabled). I want to map various elements of Enabled to variables within ATOM1 and ATOM2. For example:
Enabled.ip ---> ATOM1.in
Enabled.lm ---> ATOM2.in
Unfortunately, the Stateflow mapping editor only allows me to choose the bus variable (Parent), rather then its elements (Enabled.ip, Enabled.lm) for mapping.
Is there an elegant way around this problem? I would like to use atomic subcharts & bus inputs, as my chart will soon get much larger and more complicated.

Answers (1)

Siddharth
Siddharth on 27 Jun 2013
Hi Nick,
this seems like something that you should log as an enhancement request with the MathWorks. Please contact the support team at support@mathworks.com and log this enhancement.
Thanks, Sid

Categories

Find more on Complex Logic in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!