MATLAB Link for Code Composer Studio Development Tools    
enable

Enable the RTDX interface, a specified channel, or all RTDX channels

Syntax

Description

enable(rx,'channel') enables the open channel specified by the string channel, for RTDX link rx. rx represents the RTDX portion of the associated link to CCS IDE.

enable(rx,'all') enables all the open channels associated with 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.

  1. The target must be running a program when you enable the RTDX interface. When the target is not running, the state defaults to disabled.
  2. You must enable the RTDX interface before you enable individual channels.
  3. Channels must be open before you can enable them.
  4. Your target program must be polling periodically for enable to work.
  5. Using code in the program running on the target to enable channels overrides the default disabled state of the channels.

Examples

To use channels to RTDX, you must both open and enable the channels.

See Also
disable, open


  display equivalent