CNE – Enumeration constant
Block SymbolLicensing group: STANDARD
Function Description
The CNE block allows selection of a constant from a predefined popup list. The popup list of
constants is defined by the pupstr string, whose syntax is obvious from the default
value shown below. The output value corresponds to the number at the beginning of
the selected item. In case the pupstr string format is invalid, the output is set to
0.
There is a library called CNEs in Simulink, which contains CNE blocks with the most common lists of constants.
Parameters
yenum | Enumeration constant 1: option A | String |
pupstr | Popup list definition 1: option A|2: option B|3: option C | String |
Output
iy | Integer output of the block | Long (I32) |
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com