engOutputBuffer

Specify char buffer for Nelson output

Syntax

  • #include "engine.h"

  • int engOutputBuffer(Engine *ep, char *p, int n);

Input argument

  • Engine *ep - handle to Nelson engine.

  • char *p - Pointer to character buffer.

  • int n - Length of buffer.

Output argument

  • int - returns 1 if the engine session is closed or invalid. Otherwise, returns 0.

Description

Specify char buffer for Nelson output.

To turn off output buffering in C, use: engOutputBuffer(ep, NULL, 0);

Example

edit([modulepath('mex'), '/examples/mex_engine_demo_2.c'])

See also

mex, engPutVariable, engGetVariable.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated