MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Return the equivalent string or numeric value for an input argument
Syntax
Description
value = equivalent(objname,input)
returns value
as either
input
when input
is a string
input
when input
is a numeric
input
can be a single value, a single string, an array of values or strings, or a cell array of values or strings.
Numeric objects, string objects, rstring objects, and enum objects all support equivalent
.
The conversion process depends on the setting of the charconversion
property of the object. Currently, the only property value allowed for charconversion
is 'ASCII
' indicating that strings are treated as ASCII characters and numeric values get converted to the ASCII equivalents.
See Also
![]() | enable | execute | ![]() |