mod_mex

Version 1.12.0.0 (6.08 KB) by Olaf
FORTRAN 90 modules with interface declarations for the MATLAB API
188 Downloads
Updated 14 Dec 2012

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 (2024). mod_mex (https://www.mathworks.com/matlabcentral/fileexchange/38410-mod_mex), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fortran with MATLAB in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.12.0.0

Added implicit none in all functions and subroutines.

1.0.0.0