Effacer les filtres
Effacer les filtres

Where can I find Enumeration values in Simulink

1 vue (au cours des 30 derniers jours)
Akram Najjar
Akram Najjar le 25 Oct 2018
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

Réponse acceptée

Akram Najjar
Akram Najjar le 6 Mai 2019
Many thanks Kar

Plus de réponses (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi le 6 Mai 2019
Modifié(e) : Abdolkarim Mohammadi le 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

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by