User`s manual
Dynamic Data Exchange (DDE)
7-29
The table summarizes the DDE request parameters.
Sending Data to MATLAB
Clients send data to MATLAB using the DDE poke operation. The Engine topic
supports DDE poke for updating or creating new matrices in the MATLAB
workspace. The item specified is the name of the matrix to be updated or
created. If a matrix with the specified name already exists in the workspace it
will be updated; otherwise it will be created. The matrix data can be in Text or
XLTable format.
The table summarizes the DDE
poke parameters.
Example: Using Visual Basic and the MATLAB DDE
Server
This example shows a Visual Basic form that contains two text edit controls,
TextInput and TextOutput. This code is the TextInput_KeyPress method.
Item Format Result
EngStringResult
Text String
EngFigureResult
Text Yes/No
EngFigureResult
Metafilepict Metafile of the current figure
<matrix name>
Text Character buffer, tab-delimited
columns, CR/LF-delimited rows
<matrix name>
XLTable Binary data in a format compatible
with Microsoft Excel
Item Format Poke Data
<matrix name>
Text Character buffer, tab-delimited
columns, CR/LF-delimited rows
<matrix name>
XLTable Binary data in a format compatible
with Microsoft Excel