mdsparenum¶
[SCDDS - Simulink Control Development & Deployment Suite] Copyright SPC-EPFL Lausanne 2022. Distributed under the terms of the GNU Lesser General Public License, LGPL-3.0-only.
Class hierarchy: parameter¶
- class SCDclass_mdsparenum¶
Bases:
SCDDSclass_MDSparameterA string enumerated MDS parameter, for uint16 enum codes
- behavior in MATLAB:
if a string match between MDS string and matlab num string is asserted, the enum choice is loaded into the tun parameter if not a warning is issued and the param is left untouched
- behavior in MARTe2:
the same than before but the enum map is used to load the equivalent uint16 code on the MARTe2 side tunable parameter if a string match is not detected, the parameter is invalidated