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.

MATLAB Engine API for Fortran

Write Fortran programs that work with MATLAB

Engine applications are standalone programs that allow you to call MATLAB® from your own Fortran programs, using MATLAB as a computation engine. Engine applications require an installed version of MATLAB; you cannot run the MATLAB engine on a machine that only has the MATLAB Runtime.

Fortran Engine API Functions

engOpenStart MATLAB engine session
engCloseQuit MATLAB engine session
engEvalStringEvaluate expression in string
engGetVariableCopy variable from MATLAB engine workspace
engPutVariablePut variable into MATLAB engine workspace
engOutputBufferSpecify buffer for MATLAB output

Functions

mexBuild MEX function from C/C++ or Fortran source code

Topics

Call MATLAB Functions from Fortran Applications

Create a Fortran engine application fengdemo.F.