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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 408
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 153
4 Calling MATLAB from C and Fortran Programs
4-4
The MATLAB engine also uses the mx prefixed API routines discussed in
Chapter 2, “Creating C Language MEX-Files” and Chapter 3, “Creating
Fortran MEX-Files.”
Communicating with MATLAB
On UNIX, the engine library communicates with the MATLAB engine using
pipes, and, if needed,
rsh for remote execution. On Microsoft Windows, the
engine library communicates with MATLAB using ActiveX. Chapter 7,
ActiveX and DDE Support” contains a detailed description of ActiveX.
engEvalString
Execute a MATLAB command
engOutputBuffer
Create a buffer to store MATLAB text output
engOpenSingleUse
Start a MATLAB engine session for single,
nonshared use
engGetVisible
Determine visibility of MATLAB engine session
engSetVisible
Show or hide MATLAB engine session
Table 4-2: Fortran Engine Routines
Function Purpose
engOpen
Start up MATLAB engine
engClose
Shut down MATLAB engine
engGetMatrix
Get a MATLAB array from the MATLAB engine
engPutMatrix
Send a MATLAB array to the MATLAB engine
engEvalString
Execute a MATLAB command
engOutputBuffer
Create a buffer to store MATLAB text output
Table 4-1: C Engine Routines (Continued)
Function Purpose
Vista de pagina 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 407 408

Comentarios a estos manuales

Sin comentarios