mod_mex
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.