Where can I find Enumeration values in Simulink

2 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by