Application of Mixed Programming with Matlab and Fortran

Yu Liu · 2005

Two methods of Matlab and Fortran mixed programming are analyzed and introduced.The Matlab engine and the Mex files are used while the realization steps of the two methods are presented.The advantage and disadvantage are discussed with a geophysical prospecting data visualization application example.The analysis and the experimental result indicate that through Matlab and Fortran mixed programming,not only the Matlab formidable graph function and the rich engineering calculation function can be used,but also highly effective characteristic can be shown in the Fortran value operation and the massive program resources can be used.Thus it can be shown that the process of programming is highly effective and flexible.If there are too many interactive inputs in the Fortran,the Matlab engine mixed programming methods should be appropriate.If a lot of Matlab function to be called in Fortran,the Mex file mixed programming should be used.

Read the paper · More papers on PaperTik