Quit MATLAB engine session
#include "engine.h" integer*4 engClose(ep) mwPointer ep
Send a quit command to the MATLAB® engine session and close the connection. Returns
0 on success
1 on failure. Possible failure includes attempting to terminate an
already-terminated MATLAB engine session.
ep— Pointer to engine
Pointer to engine, specified as
See these examples in
fengdemo.F for a Fortran example.