CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

MATLAB FORTRAN

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 5, 2007, 13:08
Default MATLAB FORTRAN
  #1
Ally
Guest
 
Posts: n/a
I have written a (large) MATLAB program on design of a thermo-fluid system, but I now need to make it executable (what is called "making stand-alone executable files from m-files"). This acts same as compilation in FORTRAN. It seems that Matlab compiler is not part of the MATLAB package and I need to pay for it separately! If this is true, what is the best that I can do (other than buying the complier)? Inverting the program to FORTRAN will also take several weeks.

Please give me any advice you think it might be helpful.

Ally
  Reply With Quote

Old   June 5, 2007, 13:24
Default Re: MATLAB FORTRAN
  #2
jinwon
Guest
 
Posts: n/a
I strongly recommend you to use the fortran instead of matlab as an engineer. I was also a matlab user before. But most of existing codes and code descriptions in the CFD area have been written in the fortran syntax.

Ask the matlab user community available at www.mathwork.com
  Reply With Quote

Old   June 10, 2007, 01:33
Default Re: MATLAB FORTRAN
  #3
javaid
Guest
 
Posts: n/a
Matlab includes lcc (a C compiler) on Window plateform and free C compilers are available for linux. You may try som fortran to C converter (f2c) then use free compiler to create stand alone applications. BUT you must write your program in FORTRAN first.
  Reply With Quote

Old   July 3, 2007, 18:01
Default Re: MATLAB FORTRAN
  #4
king
Guest
 
Posts: n/a
Hello All,

I have a FORTRAN program and I need to convert this to a matlab program, Can anyone let me know as how do i accomplish this task? I'm pretty new to both fortran and matlab and any help in this regrad is greatly APPRECIATED.
  Reply With Quote

Old   July 12, 2007, 03:51
Default Re: MATLAB FORTRAN
  #5
javaid
Guest
 
Posts: n/a
It is possible to run a FORTRAN program through Matlab using MEX file. Please examine Matlab docs.
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
caling matlab in Fortran HaKu Main CFD Forum 0 July 16, 2009 15:35
Fortran vs Matlab Help idee Main CFD Forum 3 July 2, 2008 15:05
matlab to fortran ztdep Main CFD Forum 4 November 15, 2006 09:15
calling matlab from fortran prasat Main CFD Forum 5 February 4, 2003 17:04
C++, Fortran and Matlab Wole F. Main CFD Forum 11 September 26, 2000 10:01


All times are GMT -4. The time now is 18:34.