La traducción de esta página está obsoleta. Haga clic aquí para ver la última versión en inglés.
API del motor de MATLAB para Fortran
Las aplicaciones del motor son programas independientes que le permiten llamar a MATLAB® desde sus propios programas de Fortran, mediante el uso de MATLAB como motor de cálculo. Para crear una aplicación del motor, llame a la función mex
.
Las aplicaciones del motor requieren una versión instalada de MATLAB; no es posible ejecutar el motor de MATLAB en un equipo que solo tenga MATLAB Runtime.
Funciones de la API del motor Fortran
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 |
Temas
- Write Fortran Engine Applications
What to do to start building Fortran engine applications.
- Call MATLAB Functions from Fortran Applications
Create a Fortran engine application
fengdemo.F
. - Build and Run Fortran Engine Applications on Windows
This example shows how to build and run the Fortran example
fengdemo.F
on Windows® platforms. - Build and Run Fortran Engine Applications on Linux
This example shows how to build and run the
fengdemo.F
example on Linux® platforms. - Build and Run Fortran Engine Applications on macOS
This example shows how to build and run the example
fengdemo.F
from the macOS Terminal Window.