mod_mex

FORTRAN 90 modules with interface declarations for the MATLAB API

You are now following this Submission

subroutine mexfunction(nlhs, plhs, nrhs, prhs)
use mod_mat ! Incorporate and use MATLAB data (mat* subs/functions).
use mod_mx ! Create and manipulate MATLAB arrays (mx* subs/functions).
use mod_mex ! Perform operations in MATLAB environment (mex* subs/functions).
use mod_eng ! Call MATLAB software (eng* subs/functions).
implicit none
#include "fintrf.h"
integer*4 :: nlhs, nrhs
mwPointer :: plhs(nlhs), prhs(nrhs)

! (...)

end subroutine mexfunction

Cite As

Olaf (2026). mod_mex (https://www.mathworks.com/matlabcentral/fileexchange/38410-mod_mex), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.12.0.0

Added implicit none in all functions and subroutines.

1.0.0.0