| Embedded IDE Link™ CC | ![]() |
value = equivalent(objname,input)
value = equivalent(objname,input) returns value as either
The decimal numeric equivalent of input when input is a string
The string equivalent value of 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 and applies only to string and rstring objects. 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.
![]() | enable | execute | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |