Code covered by the BSD License  

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 6.08 KB File ID: #38410

mod_mex

by

 

28 Sep 2012 (Updated )

FORTRAN 90 modules with interface declarations for the MATLAB API

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
14 Dec 2012

Added implicit none in all functions and subroutines.

Contact us