External Interfaces/API Reference | ![]() ![]() |
Initiate DDE conversation between MATLAB and another application
Syntax
channel = ddeinit(service, topic)
Arguments
channel
The channel assigned to the conversation.
service
topic
Description
ddeinit
requires two arguments: a service or application name and a topic for that service. The function returns a channel handle, which is used with other MATLAB DDE functions.
For more information about services and topics, see DDE Concepts and Terminology.
Example
% Initiate a conversation with Microsoft Excel % for the spreadsheet 'forecast.xls'. channel = ddeinit('excel', 'forecast.xls');
![]() | ddeexec | ddepoke | ![]() |