MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Uživatelský manuál Strana 154

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 408
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 407 408

Komentáře k této Příručce

Žádné komentáře