File Exchange

image thumbnail


version (6.08 KB) by Olaf
FORTRAN 90 modules with interface declarations for the MATLAB API


Updated 14 Dec 2012

View Version History

View License

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 (2021). mod_mex (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!