| Contents | Index |
Note Support for enable on C5000 processors will be removed in a future version. |
enable(rx,'channel')
enable(rx,'all')
enable(rx)
This function supports the following IDEs:
Texas Instruments Code Composer Studio v3
enable(rx,'channel') enables the open channel specified by the string channel, for RTDX link rx. The input argument rx represents the RTDX portion of the associated link to the IDE.
enable(rx,'all') enables all the open channels associated with rx.
enable(rx) enables the RTDX interface for rx.
On the processor side, enable depends on RTDX to enable channels. To use enable, meet the following requirements:
The processor must be running a program when you enable the RTDX interface. When the processor is not running, the state defaults to disabled.
Enable the RTDX interface before you enable individual channels.
Using code in the program running on the processor to enable channels overrides the default disabled state of the channels.
To use channels to RTDX, you must both open and enable the channels:
IDE_Obj = ticcs; % Create a new connection to the IDE.
enable(IDE_Obj.rtdx) % Enable the RTDX interface.
open(IDE_Obj.rtdx,'inputchannel','w') % Open a channel for sending
% data to the processor.
enable(IDE_Obj.rtdx,'inputchannel') % Enable the channel so you can use
% it.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |