MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de usuario Pagina 315

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 408
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 314
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
Vista de pagina 314
1 2 ... 310 311 312 313 314 315 316 317 318 319 320 ... 407 408

Comentarios a estos manuales

Sin comentarios