| MATLAB Function Reference | Search  Help Desk |
| ddeexec | Examples See Also |
rc = ddeexec(channel,'command') rc = ddeexec(channel,'command','item') rc = ddeexec(channel,'command','item',timeout)
ddeexec sends a string for execution to another application via an established DDE conversation. Specify the string as the command argument.
If you omit optional arguments that are not at the end of the argument list, you must substitute the empty matrix for the missing argument(s).
rc = ddeexec(channel,'[formula.goto("r1c1")]')
Communication with Excel must have been established previously with a ddeinit command.
ddeadv Set up advisory link
ddeinit Initiate DDE conversation
ddepoke Send data to application
ddereq Request data from application
ddeterm Terminate DDE conversation
ddeunadv Release advisory link