Hello All! I have around 250+ fortran files. and I want to convert them to MATLAB. Is there any way, this can be done.. Its easy to generate C/C++ code from MATLAB scripts and viceversa. but is there a sthg similar for FORTRAN.. thank you all in advance Cheers Raghu 

Fortran to matlab source code conversion
Started by ●January 16, 2002
Posted by ●January 16, 2002
You can call your own C or Fortran subroutines from MATLAB as if they
were builtin functions. MATLAB callable C and Fortran programs are referred to as MEXfiles. MEXfiles are dynamically linked subroutines that the MATLAB interpreter can automatically load and execute. MEXfiles have several applications: Large preexisting C and Fortran programs can be called from MATLAB without having to be rewritten as Mfiles. Bottleneck computations (usually forloops) that do not run fast enough in MATLAB can be recoded in C or Fortran for efficiency. MEXfiles are not appropriate for all applications. MATLAB is a highproductivity system whose specialty is eliminating timeconsuming, lowlevel programming in compiled languages like Fortran or C. In general, most programming should be done in MATLAB. Don't use the MEX facility unless your application requires it. Check out the documentation in the external interfaces section either in the matlab help section or at the Mathworks web site (www.mathworks.com). Original Message From: raghu330 [mailto:] Sent: Wednesday, January 16, 2002 4:05 AM To: Subject: [matlab] Fortran to matlab source code conversion Hello All! I have around 250+ fortran files. and I want to convert them to MATLAB. Is there any way, this can be done.. Its easy to generate C/C++ code from MATLAB scripts and viceversa. but is there a sthg similar for FORTRAN.. thank you all in advance Cheers Raghu _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/matlab More DSPRelated Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/ 