Pages

Thursday, April 18, 2013

Convert Fortran code to Matlab code


Download f2matlab.

1. Put the f2matlab file in a folder (eg. /home/khan/)
2. Open matlab and add the documents directory to your matlab path
- put "addpath '/home/khan' " at the matlab command prompt.
3. Call the f2matlab function with your fortran program name:
- put " f2matlab('msphere.f') " at the matlab command prompt.

Source

No comments:

Post a Comment