image thumbnail

updated 1 month ago

read_namelist by Samuel Lazerson

Reads a FORTRAN input namelist into a MATLAB structure. (data import, fortran, simulation)

read_namelist(filename,namelist)

write_fortran_namelist(fid,data,namelist)

write_namelist_arr(fid,name,val,varargin)

image thumbnail

updated 2 years ago

rook pivoting by Leslie Foster

LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code (rook pivoting, lu factorization, rook)

lurp_install

lurp_test(tol,m)

lurp_test_SJ(tol,nsamples)

image thumbnail

updated 2 years ago

f2matlab by Ben Barrowes

Ben Barrowes (view profile)

Converts basic fortran90 source code to MATLAB source code. (external interface, fortran, matlab)

TESTING_csf.m

TESTING_ex.m

[argStr,status]=getarg(n,argStr,status)

image thumbnail

updated almost 3 years ago

Universal MEX wrapper by Thomas

Thomas (view profile)

Call any function in a shared library from Matlab (with some limits on the function signature). (mex, c, fortran)

dl_check(symbol)

dl_exec(funName, varargin)

dl_load(libPath, varargin)

image thumbnail

updated 3 years ago

Fortran 95 Interface to MATLAB API with extras! by James Tursa

James Tursa (view profile)

This is the one you have been waiting for, a clean interface using assumed shape Fortran pointers. (fortran 95, fortran, 95)

MatlabAPI_build_cvf61.m

MatlabAPI_build_cvf66.m

MatlabAPI_build_intelf10msvs2005.m

image thumbnail

updated 4 years ago

FORTRAN Namelist Suite by Samuel Lazerson

A suite of codes to read and write FORTRAN namelists. (fortran, simulation, data export)

data=read_namelist(filename,namelist)

write_namelist_arr(fid,name,val,varargin)

write_namelist_boo(fid,name,val)

image thumbnail

updated 5 years ago

Fortran mex routine mxGetClassName by James Tursa

James Tursa (view profile)

A drop-in replacement for the TMW Fortran API function mxGetClassName routine that does not work. (mex, mxgetclassname, fortran)

image thumbnail

updated 5 years ago

LqrSim by Giampiero Campa

Giampiero Campa (view profile)

Algebraic Riccati Equation solution in Simulink via C+Fortran (simulink, riccati, are)

demos

contents.m

sfcndemo_lqry

image thumbnail

updated 5 years ago

FORTRAN_Mex_Highlighter by Thomas Clark

Improvement of syntax highlighting for FORTRAN MEX files (using an external editor like GEDIT) (gedit, fortran, mex)

image thumbnail

updated almost 6 years ago

MEXING WITH IFORT 11.0 IN 64 BIT MATLAB by Leslie Foster

FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 (external interfaces, mex, mex setup)

lupp.m

lupp_mex.m

lupp_test.m

image thumbnail

updated 6 years ago

Windows mex setup with ifort 11.0 by Kristjan Jonasson

Windows mexing with Matlab 7.6/7.7 (+probably others) and ifort 11.0 (external interfaces, mex, mex setup)

image thumbnail

updated almost 7 years ago

Fortran mxCreateLogicalSparseMatrix by James Tursa

James Tursa (view profile)

The Fortran version of the mxCreateSparseLogicalMatrix function for mex and engine apps (external interface, mex, logical)

image thumbnail

updated almost 7 years ago

maxloc by Ben Barrowes

Ben Barrowes (view profile)

Replicates the functionality of maxloc in fortran. (maxloc, fortran, maximum)

out=maxloc(x,dim)

image thumbnail

updated 7 years ago

fulltosparse (Fortran version) by James Tursa

James Tursa (view profile)

This is a Fortran version of The Mathworks supplied fulltosparse.c, with realloc capability. (external interface, fulltosparse, sparse)

image thumbnail

updated 7 years ago

Gnu Fortran, C, Lapack and Blas from Windows Matlab by Kristjan Jonasson

Setting up of a free environment for calling Fortran 77 routines from Matlab and using Lapack and Bl (g77, gcc, fortran)

image thumbnail

updated almost 8 years ago

MATLAB interface for L-BFGS-B by Peter Carbonetto

Matlab interface to the L-BFGS-B nonlinear optimization algorithm (optimization, interface, lbfgsb)

callbackMFLDA (t, f, xi, gamma, Phi, auxdata)

computeGradientHS038 (x)

computeGradientMFLDA (xi, gamma, Phi, auxdata)

image thumbnail

updated 8 years ago

hankel by Brian Borchers

Brian Borchers (view profile)

The routines in this directory implement Hankel transforms of order 0 and 1 by digital filtering. (filter design, filter analysis, hankel)

Y=hankelpts(B)

[WT0,WT1]=hankelwts()

[z0,z1]=hankel01(funname,B)

image thumbnail

updated almost 9 years ago

Fortran data out by Margaret Kimball

writes a file containing a Fortran 77 data statement from a matlab data vector (data import, data export, fortran)

image thumbnail

updated 9 years ago

matlab2fmex by Ben Barrowes

Ben Barrowes (view profile)

matlab2fmex.m is a small translator which aims to convert numerical M-files to Fortran90 mex. (matlab, fortran, convert)

[changedflag,nif]=changeoperator(i,operator,dummy);

[count,whichone]=typeofvar(str,inoutother,cw);

[funstr,funstrwords,funstrwords_b,funstrwords_e,funstrnum...

image thumbnail

updated 11 years ago

Call .m from Fortran by Alex Pudmenzky

This program serves as a simple example on how to interface a Fortran program to MATLAB. (external interface, fortran, interface)

Contact us