File Exchange

image thumbnail

mod_mex

version 1.12 (6.08 KB) by

FORTRAN 90 modules with interface declarations for the MATLAB API

0 Downloads

Updated

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

Comments and Ratings (0)

Updates

1.12

Added implicit none in all functions and subroutines.

MATLAB Release
MATLAB 7.13 (R2011b)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video