rc = ddeexec(channel,command,item,timeout)
rcThe return code: 0 indicates the function call failed, 1 indicates it succeeded.
channelddeinit.
commanditemcommand. Consult your server documentation for more information.
timeouttimeout 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.