This example shows how to write a MEX-file to call a Fortran subroutine, timestwo , in MATLAB using a ...
www.mathworks.com