reinterpretcast
Convert fixed-point or integer data types without changing underlying data
Syntax
Description
converts the input c
= reinterpretcast(a
,T
)a
to the data type specified by
numerictype
object T
without changing the
underlying data. The result is returned in fi
object
c
.
The reinterpretcast
function differs from the MATLAB®
typecast
and cast
functions in that it only operates on fi
objects and
built-in integers, and it does not allow the word length of the input to change.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2008b
See Also
cast
| fi
| numerictype
| typecast