Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Assigning values to signal stuctures inside a state

1 view (last 30 days)
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

Answers (1)

ES
ES on 12 Jul 2017

This question is closed.

Community Treasure Hunt

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

Start Hunting!