User`s guide
2 Automa tion Interface
• Typedefs that use pointers or typedefs in the type definitio n
To define custom data types that use structs, enums, or unions from a project,
the project must be loaded on the processor before you add the custom type
definitions. Either load the project and .
out file before you start the DTM, or
use the Load Program option in the DTM to load the .
out file.
Note After a successful load process, you see the name of the file you loaded in
Loaded program. O therwise, you get an e rror message that the load failed.
Only p r ograms tha t you load from this dia log box appear in Program
loaded. Programs that are already loaded on y our processor do not appear
there because MATLA B cannot d etermine what program you hav e loaded.
You need to know the custom definition s you used so you can add them in
the DTM. U se the options for
list to ve rify whether you loaded a .out file
on the processor.
Create an object and load a program.
1 Create a ticcs object.
cc=ticcs;
2 Load a program on your processor. For example, the MATLAB command
load(cc,'c6711dskwdnoisf_c6000_rtwD\c6711dskwdnoisf.out');
loads the executable file from the model c6711dskwdnois.mdl on the
processor.
3 Start the DTM with the object you created.
datatypemanager(cc);
The DTM starts, showing the default data types.
2-62