Info

此问题已关闭。 请重新打开它进行编辑或回答。

Assigning values to signal stuctures inside a state

1 次查看(过去 30 天)
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

回答(1 个)

ES
ES 2017-7-12

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by