Download f2matlab. http://engineering.dartmouth.edu/~d30574x/consulting/f2matlab_4.0.zip 1. Put the f2matlab file in a folder (eg. /home/khan/) 2. Open matlab and add the documents directory to your matlab path - type " addpath '/home/khan' " at the matlab command prompt. 3. Call the f2matlab function with your fortran program name: - type " f2matlab('msphere.f') " at the matlab command prompt.