Function Reference
— Function File: hex2dec (s)

Return the integer corresponding to the hexadecimal number stored in the string s. For example,

          hex2dec ("12B")
                299
          hex2dec ("12b")
                299

If s is a string matrix, returns a column vector of converted numbers, one per row of s. Invalid rows evaluate to NaN.