Call MATLAB from Fortran
Engine applications are standalone programs that allow you to call
                            MATLAB® from your own Fortran programs, using MATLAB as a computation engine. To build an engine application, call
                        the mex function.
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
| engOpen | Start MATLAB engine session | 
| engClose | Quit MATLAB engine session | 
| engEvalString | Evaluate expression in string | 
| engGetVariable | Copy variable from MATLAB engine workspace | 
| engPutVariable | Put variable into MATLAB engine workspace | 
| engOutputBuffer | Specify buffer for MATLAB output | 
Topics
- Write Fortran Engine ApplicationsWhat to do to start building Fortran engine applications. 
- Call MATLAB Functions from Fortran ApplicationsCreate a Fortran engine application fengdemo.F.
- Build and Run Fortran Engine Applications on WindowsThis example shows how to build and run the Fortran example fengdemo.Fon Windows® platforms.
- Build and Run Fortran Engine Applications on LinuxThis example shows how to build and run the fengdemo.Fexample on Linux® platforms.
- Build and Run Fortran Engine Applications on macOSThis example shows how to build and run the example fengdemo.Ffrom the macOS Terminal Window.