From Fortran, call MATLAB Compiler C shared library

Mixed Language Example: From Fortran, call MATLAB Compiler C shared library

Vous suivez désormais cette soumission

The MATLAB Compiler (v4, R14 onwards) can package MATLAB code into an executable or C/C++ shared library. Calling a C shared library from Fortran, however, can be difficult. The mixed-language issue is C vs. Fortran calling conventions. This is an example of how to call a MATLAB Compiler-generated C shared library from Fortran.

Citation pour cette source

George Thiers (2026). From Fortran, call MATLAB Compiler C shared library (https://fr.mathworks.com/matlabcentral/fileexchange/18449-from-fortran-call-matlab-compiler-c-shared-library), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0