Where can I find Enumeration values in Simulink

조회 수: 2 (최근 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 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