MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Enable the RTDX interface, a specified channel, or all RTDX channels
Syntax
Description
enable(rx,'
enables the open channel specified by the string channel
')
channel
, for RTDX link rx
. rx
represents the RTDX portion of the associated link to CCS IDE.
enable(rx,'
enables all the open channels associated with all
')
rx
.
enable(rx)
enables the RTDX interface for rx
.
Important requirements for using enable
On the target side, enable
depends on RTDX to enable channels. Therefore the you must meet the following requirements to use enable
.
enable
to work.
Examples
To use channels to RTDX, you must both open and enable the channels.
cc = ccsdsp; % Create a new link. enable(cc.rtdx) % Enable the RTDX interface. open(cc.rtdx,'inputchannel','w') % Open a channel for sending % data to the target processor. enable(cc.rtdx,'inputchannel') % Enable the channel so you can use % it.
![]() | display | equivalent | ![]() |