You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
- Version 1.12.0.0 (6.08 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
