| Embedded IDE Link™ CC | ![]() |
gettypeinfo(cc.type,'typename')
gettypeinfo(cc.type,'typename') returns all the available information about the user-defined data type typename in the type object cc.type.
Here is what happens when you use gettypeinfo to learn about a type in the type class:
cc.type
Defined types : Void, Float, Double, Long, Int, Short, Char,
mynewtypedef
gettypeinfo(cc.type,'Double')
ans =
type: 'double'
size: 1
uclass: 'numeric'
One important note — type names are case sensitive. double and Double are not the same.
![]() | getoutput | goto | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |