| C Math Library Reference | ![]() |
IEEE hexadecimal to decimal number conversion
C Prototype
mxArray *mlfHex2dec(mxArray *hex_value);
C Syntax
#include "matlab.h"
mxArray *hex_value; /* Hexadecimal integer or string array */
mxArray *d = NULL; /* Return value */
mlfAssign(&d, mlfHex2dec(hex_value));
MATLAB Syntax
d = hex2dec('hex_value')
See Also
hex2dec Calling ConventionsDescription
d = hex2dec(' converts hex_value')
hex_value to its floating-point integer representation. The argument hex_value is a hexadecimal integer stored in a MATLAB string. If hex_value is a character array, each row is interpreted as a hexadecimal string.
| mlfHess | mlfHex2num | ![]() |