External Interfaces Reference Previous page   Next Page
engOutputBuffer

Specify buffer for MATLAB output

Fortran Syntax

Arguments

ep
   Engine pointer.

p
   Character buffer of length n, where n is the length of buffer p.

Description

engOutputBuffer defines a character buffer for engEvalString to return any output that would appear on the screen. It returns 1 if you pass it a NULL engine pointer. Otherwise, it returns 0.

The default behavior of engEvalString is to discard any standard output caused by the command it is executing. engOutputBuffer(ep, p) tells any subsequent calls to engEvalString to save the first n characters of output in the character buffer p.


Previous page  engOpen engPutArray (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.