This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Engine (C)

Type for MATLAB engine

Description

A handle to a MATLAB® engine object.

Engine is a C language opaque type.

You can call MATLAB software as a computational engine by writing C and Fortran programs that use the MATLAB engine library. Engine is the link between your program and the separate MATLAB engine process.

The header file containing this type is:

#include "engine.h"

Examples

See the following examples in matlabroot/extern/examples/eng_mat.

  • engdemo.c shows how to call the MATLAB engine functions from a C program.

  • engwindemo.c show how to call the MATLAB engine functions from a C program for Windows® systems.

  • fengdemo.F shows how to call the MATLAB engine functions from a Fortran program.

See Also

engOpen