Assigning values to signal stuctures inside a state

Hello all,
I have a bus containing 4 signals. These signals should be assigned boolean values in each state of a stateflow chart. For example: a.x1 = 0; a.x2 = 1 in state 1, a.x1 = 1; a.x2 = 0; a.x3 = 0; in state 2 and so on. Can anyone tell me how to do this? I am quite new to stateflow modelling and have not been able to find a solution to this.
Thanks in advance.
Cheers, Rashmi

This question is closed.

Asked:

on 12 Jul 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!