User`s manual

7 ActiveX and DDE Support
7-28
require only the command. Where an item name is required, use
EngEvalString. In both forms, the format of the command must be Text. Most
clients default to Text for DDE
execute. If the format cannot be specified, it is
probably Text. The table summarizes the DDE
execute parameters.
Requesting Data from MATLAB
Clients request data from MATLAB using the DDE request operation. The
Engine topic supports DDE requests for three functions:
Text that is the result of the previous DDE execute command. You
request the string result of a DDE execute command using the
EngStringResult item with Text format.
Graphical results of the previous DDE execute command. You request
the graphical result of a DDE execute command using the
EngFigureResult
item. The
EngFigureResult item can be used with Text or Metafilepict
formats.
Specifying the Text format results in a string having a value of “yes” or “no.”
If the result is “yes,” the metafile for the current figure is placed on the
clipboard. This functionality is provided for DDE clients that can retrieve
only text from DDE requests, such as Word for Windows. If the result is “no,”
no metafile is placed on the clipboard.
Specifying the Metafilepict format when there is a graphical result causes a
metafile to be returned directly from the DDE request.
The data for a specified matrix. You request the data for a matrix by
specifying the name of the matrix as the item. You can specify either the Text
or XLTable format.
Item Format Command
EngEvalString
Text String
null
Text String