User`s guide
datatypemanager
• Refresh list —updatesthelistinTypedef name (Equivalent
data type). Refreshing the list ensures the contents are current. If
you changed your project data type content or loaded a new project,
this updates the typ e defi nitions in the DTM.
• Close — closes the DTM a nd prompts you to save the sess ion
information. This is the only way to save your work in this dialog
box. Saving the session creates an M-file you can reload into the
DTM later.
Clicking Close in the D TM prompts you to save your session. Saving
the session cre ates an M-file that contains operations that create your
final list of data types, identical to the data types in the Typedef
name list.
In the stored M-file, you find a function that includes the add and
remove operations you used to create the list of data types in the
DTM. For each time you added a typedef in the DTM, the M-file
contains an
add command that adds the new type definition to the
cc.type property of the object. When you remove a data type, you
see an equivalent
clear com m and that removes a data type from
the
cc.type object.
Note All operations that add and remove data types in the DTM
during a session are s tored in the generated M - file, including
mistakes you make w hile creating or removing type definitions.
When you load your saved session into the DTM, you see the same
error messages y ou saw during the session. Keep in mind that you
have already corrected these errors.
The first line of the M-file is a function definition, where the name of
the function is the filename o f the session y ou s av ed.
cc2 = datatypemanager(cc) returns the cc2 ticcs object w h ile it opens
the DTM.
cc2 represents an alias to cc.Objectscc and cc2 are n ot
7-29