Technical discussion about Matlab and issues related to Digital Signal Processing.
Is this thread worth a thumbs up?
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 

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 _____________________________________ /groups.php3 