set - Set CCS IDE and RTDX™ interface properties of ticcs object

Syntax

set(cc,'propertyname','propertyvalue')
set(cc,'propname1','propvalue1','propname2','propvalue2')
cc.propertyname = propertyvalue
set(rx,'propertyname','propertyvalue')
set(rx,'propname1','propvalue1','propname2','propvalue2')
v = set(rx)
rx.propertyname = propertyvalue

Description

set(cc,'propertyname','propertyvalue') sets the specified property of cc to the specified value.

set(cc,'propname1','propvalue1','propname2','propvalue2') sets multiple properties (propname1, propname2) of cc to corresponding property values (propvalue1, propvalue2) with a single statement. cc must be a link.

cc.propertyname = propertyvalue uses the dot notation to set propertyname to propertyvalue.

set(rx,'propertyname','propertyvalue') sets the specified property of rx to the specified value.

set(rx,'propname1','propvalue1','propname2','propvalue2') sets multiple properties (propname1, propname2) of rx to corresponding property values (propvalue1, propvalue2) with a single statement.

v = set(rx) returns the properties and range of values of link rx. rx is the RTDX portion of a link for CCS IDE. When the range of values for a property is not finite, set returns {} for the property value. When you omit the output argument, MATLAB® software displays the results on the screen.

rx.propertyname = propertyvalue uses the dot notation to set propertyname to propertyvalue for link rx.

Examples

Create a connection to CCS IDE

cc = ticcs;

Now set a property value for the board name of cc.

set(cc,'boardname','myboard')
get(cc,'boardname')

ans =

myboard

Set timeout to 10 s and page to 2. Property eventwaitms cannot be set. It is read-only.

set(cc,'timeout',10)

See Also

get

  


 © 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