MATLAB Link for Code Composer Studio Development Tools    

Introduction to Objects

Within your MATLAB Link for Code Composer Studio Development Tools software, the links and the objects use object-oriented programming techniques. Along with the link object you use to connect MATLAB to your target hardware, MATLAB Link for Code Composer Studio provides many objects for creating, accessing (reading from and writing to), and manipulating (changing the contents of in MATLAB) all the symbols in the symbol table for a program loaded on your signal processor:

Object Name
Inherits From
Description
Bitfield
Memory Class
Describes and provides access to the contents of a bitfield defined in your code
Enum
Numeric Class
Describes and provides access to the contents of an enumerated datatype stored in memory defined in your code
Numeric
Memory Class
Describes and provides access to the contents of a numeric datatype stored in memory defined in your code
Pointer
Numeric Class
Describes and provides access to the contents of a pointer stored in a memory location on your target
Renum
Rnumeric Class
Describes and provides access to the contents of a pointer stored in a memory location on your target
Rpointer
Rnumeric Class
Describes and provides access to the contents of a pointer stored in a register on your target
Rstring
Rnumeric Class
Describes and provides access to the contents of a string stored in a register on your target
String
Numeric Class
Describes and provides access to the contents of a pointer stored in a memory location on your target
Structure
None
Describes and provides access to the contents of a structure stored in memory on your target

In the Inherits From column you see the name of another class. Objects that inherit from another class contain all the properties and methods of the inherited from class as well as their unique properties.

For example, the String object has the properties and methods of the Numeric class, and its own properties and methods.

By using the objects provided, you can modify and view any and all symbols from MATLAB.

Each of the objects has properties and methods specific to its use, although many of the objects use the same methods and properties, as you see in the next sections.

While you can use the MATLAB Link for Code Composer Studio software without knowing about its object-oriented design and implementation, you might find the next sections about objects useful to gain a better understanding of the objects.


  About Objects for MATLAB Link Software Some Object-Oriented Programming Terms