Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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

Was this topic helpful?