Where can I find Enumeration values in Simulink

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

Accepted Answer

Akram Najjar
Akram Najjar on 6 May 2019
Many thanks Kar

More Answers (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 6 May 2019
Edited: Abdolkarim Mohammadi on 6 May 2019
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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!