MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Set the properties of links for CCS IDE and RTDX interface
Syntax
set(cc,'propertyname','propertyvalue') set(cc,'propname1','propvalue1','propname2','propvalue2') v = set(cc) 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.
v = set(cc)
returns the properties and range of acceptable values of link cc
. When the range of values for a property is not finite, set
returns {}
for the property value. When you omit the output argument, MATLAB displays the results on the screen.
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 displays the results on the screen.
rx.propertyname = propertyvalue
uses the dot notation to set propertyname
to propertyvalue
for link rx
.
Examples
Now review the properties of cc
to see the acceptable values for each property.
The properties accept any input value, as shown by the {}
entries returned.
Set timeout
to 10 s and page
to 2. Property eventwaitms
cannot be set. It is read-only.
set(cc,'timeout',10,'page',2) get(cc) ans = app: [1x1 activex] dspboards: [1x1 activex] dspboard: [1x1 activex] dsptasks: [1x1 activex] dsptask: [1x1 activex] dspuser: [1x1 activex] rtdx: [1x1 rtdx] apiversion: [1 0] ccsappexe: 'D:\ticcs\cc\bin\cc_app.exe' boardnum: 0 procnum: 0 timeout: 10 page: 2
Reset page to 0 since this is a C6xxx processor.
cc.page = 0 get(cc) ans = app: [1x1 activex] dspboards: [1x1 activex] dspboard: [1x1 activex] dsptasks: [1x1 activex] dsptask: [1x1 activex] dspuser: [1x1 activex] rtdx: [1x1 rtdx] apiversion: [1 0] ccsappexe: 'D:\ticcs\cc\bin\cc_app.exe' boardnum: 0 procnum: 0 timeout: 10 page: 0
See Also
get
![]() | save | symbol | ![]() |