MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
engClose    Examples

Quit a MATLAB engine session

Fortran Syntax

Arguments

ep
  Engine pointer.

Description

This routine allows you to quit a MATLAB engine session.

engClose sends a quit command to the MATLAB engine session and closes the connection. It returns 0 on success, and 1 otherwise. Possible failure includes attempting to terminate a MATLAB engine session that was already terminated.

Example

See fengdemo.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to call the MATLAB engine functions from a Fortran program.



[ Previous | Help Desk | Next ]