フィルターのクリア

vector variable from Simulink to Stateflow

1 回表示 (過去 30 日間)
Emily Baldi
Emily Baldi 2015 年 1 月 21 日
回答済み: Muthukumar Ganesan 2022 年 8 月 12 日
hello
who helps me solve a little problem?
I have to adjust a Stateflow chart with a controlled transition by two conditions (OR operator) : one of this comes from simulink and is a vector.
The Stateflow does not accept vector as conditions.
How do I make the variable accepted by matlab simulink?

回答 (1 件)

Muthukumar Ganesan
Muthukumar Ganesan 2022 年 8 月 12 日
Hi,
While defining the vector input of Stateflow, configure the size as -1.
The above setting will be enough to index an element of vector in the state and transition whereas if the vector needs to be processed completely without indexing an element then add a matlab function in the stateflow
Thanks.

カテゴリ

Help Center および File ExchangeStateflow についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by