FUNCTION REFERENCE
hex2dec
Hexadecimal text to decimal.
Hexadecimal text to decimal.
Syntax
d = hex2dec(s)Converts each row of a character array (upper or lower case) to a number.
Invalid characters, including embedded spaces, cause an error.
Example
hex2dec('FF') % 255Differences from MATLAB: Character array input only; cell arrays are not
supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.