| Fixed-Point Toolbox™ | ![]() |
s = tostring(T)
s = tostring(q)
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.
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 =
1![]() | toeplitz | transpose | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |