| MATLAB Application Program Interface | Search  Help Desk |
| ddepoke | Examples |
Send data from MATLAB to DDE server application
Syntax
rc = ddepoke(channel, item, data, format, timeout)
Arguments
rc
channel
ddeinit.
item
data
format
timeout
timeout is specified in milliseconds (1000 milliseconds = 1 second). The default timeout is three seconds.
Description
ddepoke sends data to an application via an established DDE conversation. ddepoke formats the data matrix as follows before sending it to the server application:
Example
% Send a 5-by-5 identity matrix to Excel. rc = ddepoke(channel, 'r1c1:r5c5', eye(5));