rc = ddeunadv(channel,item,format,timeout)
rc
The return code: 0 indicates the function call failed, 1 indicates it succeeded.
channel
ddeinit
.
item
format
format
argument on the ddeadv
function call that defined the advisory link, you must specify the same value on the ddeunadv
function call. See ddeadv
for a description of the format
array.
timeout
timeout
is specified in milliseconds (1000 milliseconds = 1 second). The default value of timeout
is three seconds.
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.
% Release the hot link established in the ddeadv example
rc = ddeunadv(channel, 'r1c1:r5c5');
% Release a hot link with default format and a timeout value
rc = ddeunadv(chan, `r1c1:r5c5',[],6000);
ddeexec,ddeinit
,ddepoke
,ddereq
,ddeterm
,ddeadv
(c) Copyright 1994 by The MathWorks, Inc.