User`s guide
2 Automa tion Interface
when you pass the cc object to the DTM, and then add a typedef,the
command
cc.type
returns the list of data types in the type property of your cc object,
including the
typedefs you added.
• Remove typedef — removes a selected
typedef from the Typedef name
(Equivalent data type) list.
• Load session — loads a previously saved session so y ou can use the
typedefs you defined earlier without reentering them.
• Refresh list — updates the list in Typedefs name (Equivalent data
type). Refreshing the list ensures the contents are current. If you changed
your project data ty pe content or loaded a n ew project, this updates the
type definitions in the DTM.
• Close — closes the DTM and prompts you to save the session information.
This is the only way to save your work in this dialog box. Saving the session
creates an M-file you can reload i nto the DTM later.
Adding Custom Type Definitions to MATLAB
Every custom type definition in your project must appear on the Typedef
name (Equivalent data type) list for MATLAB to understand the data
types involved. To add entries the list, use the Add typedef option to identify
your type definition with a data type that MATLAB recognizes. When you
click Add typedef,theList of Known D ata Types dialog box opens,
displaying the data types currently recognized by MATLAB. To make finding
aspecific type easier, the k now n data types are grouped into categories:
• MATLAB types
• TI C types
• TI fixed point types
• Struct, union, enum types
• Other (e.g. pointers, typedefs)
2-60