Where can I find Enumeration values in Simulink

1 visualización (últimos 30 días)
Akram Najjar
Akram Najjar el 25 de Oct. de 2018
Respondida: Akram Najjar el 6 de Mayo de 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

Respuesta aceptada

Akram Najjar
Akram Najjar el 6 de Mayo de 2019
Many thanks Kar

Más respuestas (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi el 6 de Mayo de 2019
Editada: Abdolkarim Mohammadi el 6 de Mayo de 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

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by