User`s guide
2 Automa tion Interface
Clicking Close in the DTM prompts you to save your session. Saving the
session creates an M-file that contains operations that create your final list of
data types, identical to the data types in the Typedef name li st.
The first line of the M-file is a function definition, where the name of the
function is the filename of the session you saved. In the stored M-file, y ou find
a function that includes add and remove operations that replicate the add and
remove
typedef operations you used to create the list of known 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 type property of
the
cc object. When you removed a data type, you cre ated an equivalent
clear command that removes the specified data type from the type property
of the
cc object.
All the operations you performe d adding and removing data types in the D TM
during the session are stored in the generated M-file that you save, including
mistakes you made while creating or removing type definitions. When you
load your saved sessio n into the DTM , you see the same error me ssage s
you saw, during the ses sion. Keep in mind that you have already corrected
these errors.
2-68