MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
ddepoke    Examples

Send data from MATLAB to DDE server application

Syntax

Arguments

rc
  The return code: 0 indicates the function call failed, 1 indicates it succeeded.

channel
  The channel assigned to the conversation, returned by ddeinit.

item
  A string that specifies the DDE item for the data sent. item is the server data entity that is to contain the data sent in the data argument.

data
  A matrix that contains the data to be sent.

format
  (optional) A scalar that specifies the Windows clipboard format of the data. MATLAB supports only Text format, which corresponds to a value of 1.

timeout
  (optional) A scalar that specifies the time-out limit for this operation. 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



[ Previous | Help Desk | Next ]