| Embedded IDE Link™ CC | ![]() |
When you create a link to CCS IDE using the ticcs command, you are creating a "ticcs object for accessing the CCS IDE and RTDX interface" (called a ticcs object for brevity from here on). The ticcs object implementation relies on MATLAB software object-oriented programming capabilities.
The discussions in this section apply to the ticcs objects in Embedded IDE Link CC. For a discussion of the embedded objects that are also part of this product, refer to Introduction to Objects. Because both object types use the MATLAB software programming techniques, the information about working with the ticcs objects, such as how you get or set properties, or use methods, apply equally to all objects. Only their constructors, properties, and methods are different.
Like other MATLAB software structures, objects in Embedded IDE Link CC have predefined fields called object properties.
If you are new to objects, you might find the glossary section, Some Object-Oriented Programming Terms , helpful to explain the terms used in this guide.
You specify object property values by either
Specifying the property values when you create the object
Creating an object with default property values, and changing some or all of these property values later
For examples of setting link properties, refer to Setting Property Values with set.
The easiest way to create an object is to use the function ticcs to create an object with the default properties. Create an object named cc to CCS IDE by entering
cc = ticcs
MATLAB software responds with a list of the properties of the object cc you created along with the associated default property values.
ticcs object: API version : 1.0 Processor type : C67 Processor name : CPU Running? : No Board number : 0 Processor number : 0 Default timeout : 10.00 secs RTDX channels : 0
Inspecting the output reveals two objects listed — a CCS IDE object and an RTDX object. CCS IDE and RTDX objects cannot be created separately. By design they maintain a member class relationship; the RTDX object is a class, a member of the CCS object class. In this example, cc is an instance of the class CCS. If you enter
rx = cc.rtdx
rx is a handle to the RTDX portion of the CCS object. As an alias, rx replaces cc.rtdx in functions such as readmat or writemsg that use the RTDX communications features of the CCS link. Typing rx at the command line now produces
rx RTDX channels : 0
The object properties are described in Function Reference, and in more detail in ticcs Object Properties. These properties are set to default values when you construct objects.
![]() | Getting Started with RTDX | Properties and Property Values | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |