Where can I find Enumeration values in Simulink

2 Ansichten (letzte 30 Tage)
Akram Najjar
Akram Najjar am 25 Okt. 2018
Beantwortet: Akram Najjar am 6 Mai 2019
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

Akzeptierte Antwort

Akram Najjar
Akram Najjar am 6 Mai 2019
Many thanks Kar

Weitere Antworten (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi am 6 Mai 2019
Bearbeitet: Abdolkarim Mohammadi am 6 Mai 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

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by