Quit MATLAB engine session
#include "engine.h" int engClose(Engine *ep);
Send a quit command to the MATLAB® engine session and close the connection. Returns
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