rc = ddeexec(channel,command,item,timeout)
rc
The return code: 0 indicates the function call failed, 1 indicates it succeeded.
channel
ddeinit
.
command
item
command
. Consult your server documentation for more information.
timeout
timeout
is specified in milliseconds (1000 milliseconds = 1 second). The default value of timeout
is three seconds.
ddeexec
sends a string for execution to another application via an established DDE conversation. Specify the string as the command
argument.
% Given the channel assigned to a conversation,
% send a command to Excel
rc = ddeexec(channel, '[formula.goto("r1c1")]');
ddeinit,ddepoke
,ddereq
,ddeterm
,ddeunadv
,ddeadv
(c) Copyright 1994 by The MathWorks, Inc.