MATLAB Function Reference | Search  Help Desk |
ddeinit | Examples See Also |
channel = ddeinit('service
','topic
')
channel = ddeinit('service
','topic
')
returns a channel handle assigned to the conversation, which is used with other MATLAB DDE functions. '
service
'
is a string specifying the service or application name for the conversation. '
topic
'
is a string specifying the topic for the conversation.
To initiate a conversation with Excel for the spreadsheet 'stocks.xls'
:
channel = ddeinit('excel','stocks.xls') channel = 0.00
ddeadv
Set up advisory link
ddeexec
Send string for execution
ddepoke
Send data to application
ddereq
Request data from application
ddeterm
Terminate DDE conversation
ddeunadv
Release advisory link