engEvalString (Fortran)
Evaluate expression in string
Fortran Syntax
#include "engine.h" integer*4 engEvalString(ep, string) mwPointer ep character*(*) string
Description
engEvalString evaluates the expression contained in
        string for the MATLAB® engine session, ep, previously started by
        engOpen.
UNIX Operating Systems
On UNIX® systems, engEvalString sends commands to the MATLAB workspace by writing down a pipe connected to the MATLAB
        stdin process. MATLAB reads back from stdout any output resulting from
        the command that ordinarily appears on the screen, into the buffer defined by
          engOutputBuffer.
To turn off output buffering in Fortran, use:
engOutputBuffer(ep, '')
Microsoft Windows Operating Systems
On a Windows® system, engEvalString communicates with MATLAB using a Component Object Model (COM) interface.
Input Arguments
Output Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","eng_mat","filename")]);
where filename is:
- fengdemo.Ffor a Fortran example.
Version History
Introduced before R2006a