User`s manual

Dynamic Data Exchange (DDE)
7-25
Metafilepict – Metafilepict format is a description of graphical data
containing the drawing commands for graphics. As a result, data stored in
this format is scalable and device independent. MATLAB supports
Metafilepict format for obtaining the result of a remote command that causes
some graphic action to occur.
XLTable – XLTable format is the clipboard format used by Microsoft Excel
and is supported for ease and efficiency in exchanging data with Excel.
XLTable format is a binary buffer with a header that describes the data held
in the buffer. For a full description of XLTable format, consult the Microsoft
Excel SDK documentation.
Accessing MATLAB As a Server
A client application can access MATLAB as a DDE server in the following
ways, depending on the client application:
If you are using an application that provides functions or macros to conduct
DDE conversations, you can use these functions or macros. For example,
Microsoft Excel, Word for Windows, and Visual Basic provide DDE functions
or macros. For more information about using these functions or macros, see
the appropriate Microsoft documentation.
If you are creating your own application, you can use the MATLAB Engine
Library or DDE directly. For more information about using the Engine
Library, see “Using the MATLAB Engine” on page 4-3. For more information
about using DDE routines, see the Microsoft Windows Programmer’s Guide.
The figure below illustrates how MATLAB communicates as a server. DDE
functions in the client application communicate with MATLAB’s DDE server
module. The client’s DDE functions can be provided by either the application
or the MATLAB Engine Library.
MATLAB
DDE Server
Module
Client Application
DDE Functions
Conversation