MATLAB Function Reference
  Go to function:
    Search    Help Desk 
ddeunadv    Examples   See Also

Release advisory link

Syntax

Description

ddeunadv releases the advisory link between MATLAB and the server application established by an earlier ddeadv call. The channel, item, and format must be the same as those specified in the call to ddeadv that initiated the link. If you include the timeout argument but accept the default format, you must specify format as an empty matrix.

Arguments

rc
Return code: 0 indicates failure, 1 indicates success.
channel
Conversation channel from ddeinit.
item
String specifying the DDE item name for the advisory link. Changing the data identified by item at the server triggers the advisory link.
format (optional)
Two-element array. This must be the same as the format argument for the corresponding ddeadv call.
timeout (optional)
Scalar specifying the time-out limit for this operation. timeout is specified in milliseconds. (1000 milliseconds = 1 second). The default value of timeout is three seconds.

Example

To release an advisory link established previously with ddeadv:

See Also

ddeadv      Set up advisory link

ddeexec     Send string for execution

ddeinit     Initiate DDE conversation

ddepoke     Send data to application

ddereq      Request data from application

ddeterm     Release advisory link



[ Previous | Help Desk | Next ]