engClose (Fortran) - Quit MATLAB engine session - MATLAB (original) (raw)
Main Content
Quit MATLAB engine session
Fortran Syntax
#include "engine.h" integer*4 engClose(ep) mwPointer ep
Description
Send a quit command to the MATLABĀ® engine session and close the connection. Returns 0
on success and 1
on failure. Possible failure includes attempting to terminate an already-terminated MATLAB engine session.
Input Arguments
Pointer to engine, specified as mwPointer
.
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","engmat","filename")]);
where filename
is:
- fengdemo.F for a Fortran example.
Version History
Introduced before R2006a