Where can I find Enumeration values in Simulink

1 回表示 (過去 30 日間)
Akram Najjar
Akram Najjar 2018 年 10 月 25 日
回答済み: Akram Najjar 2019 年 5 月 6 日
For example, in the CrossingType (Hit Crossing), the reference manual lists: None | NegativeToPositive | NegativeToZero | ZeroToPositive | PositiveToNegative | PositiveToZero | ZeroToNegative Where would be the numeric equivalents? Thanks

採用された回答

Akram Najjar
Akram Najjar 2019 年 5 月 6 日
Many thanks Kar

その他の回答 (1 件)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2019 年 5 月 6 日
編集済み: Abdolkarim Mohammadi 2019 年 5 月 6 日
I had the same problem. With trial and error with different blocks and plotting the results, I found out the following:
0 None
1 NegativeToPositive
2 NegativeToZero
4 ZeroToPositive
8 PositiveToNegative
16 PositiveToZero
32 ZeroToNegative

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by