MATLAB Link for Code Composer Studio Development Tools    
disable

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

Syntax

Description

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

disable(rx,'all') disables all the open channels associated with rx.

disable(rx) disables the RTDX interface for rx.

Important requirements for using disable

On the target side, disable depends on RTDX to disable channels or the interface. You must meet the following requirements to use disable.

  1. The target must be running a program when you use disable for channels or the RTDX interface.
  2. You must have the enabled the RTDX interface.
  3. Your target program must be polling periodically for disable to work.

Examples

When you have opened and used channels to communicate with a target processor, you should disable the channels and RTDX before ending your session. Use disable to switch off open channels and disable RTDX, as follows.

See Also
close, enable, open


  dir disp