|MATLAB Function Reference|
Send string for execution
ddeexec sends a string for execution to another application via an established DDE conversation. Specify the string as the
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).
ddeexec returns 1 in variable,
rc. Otherwise it returns 0.
||Conversation channel from
||String specifying the command to be executed.
||String specifying the DDE item name for execution. This argument is not used for many applications. If your application requires this argument, it provides additional information for
||Scalar specifying the time-out limit for this operation.
Given the channel assigned to a conversation, send a command to Excel:
Communication with Excel must have been established previously with a