tostring - Convert numerictype or quantizer object to string
Syntax
s = tostring(T)
s = tostring(q)
Description
s = tostring(T) converts numerictype object T to
a string s such that eval(s) would
create a numerictype object with the same properties
as T.
s = tostring(q) converts quantizer object q to
a string s. After converting q to
a string, the function eval(s) can use s to
create a quantizer object with the same properties
as q.
Examples
This example uses the tostring function to
convert a numerictype object T to
a string s
T = numerictype(true,16,15);
s = tostring(T);
T1 = eval(s);
isequal(T,T1)
ans =
1See Also
eval, numerictypequantizer
 | toeplitz | | transpose |  |
How much time do you spend on testing to ensure implementation meets system-level requirements?
Learn more