|
[Sponsors] |
June 5, 2007, 14:08 |
MATLAB FORTRAN
|
#1 |
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 |
|
June 5, 2007, 14:24 |
Re: MATLAB FORTRAN
|
#2 |
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 |
|
June 10, 2007, 02:33 |
Re: MATLAB FORTRAN
|
#3 |
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.
|
|
July 3, 2007, 19:01 |
Re: MATLAB FORTRAN
|
#4 |
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. |
|
July 12, 2007, 04:51 |
Re: MATLAB FORTRAN
|
#5 |
Guest
Posts: n/a
|
It is possible to run a FORTRAN program through Matlab using MEX file. Please examine Matlab docs.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
caling matlab in Fortran | HaKu | Main CFD Forum | 0 | July 16, 2009 16:35 |
Fortran vs Matlab Help | idee | Main CFD Forum | 3 | July 2, 2008 16: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 11:01 |