equivalent - Equivalent string or numeric value for input argument

Syntax

value = equivalent(objname,input)

Description

value = equivalent(objname,input) returns value as either

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.

See Also

cast, convert

  


 © 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