|
[Sponsors] | |||||
|
|
|
#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 |
|
|
||
|
|
|
#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 |
|
|
||
|
|
|
#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.
|
|
|
||
|
|
|
#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. |
|
|
||
|
|
|
#5 |
|
Guest
Posts: n/a
|
It is possible to run a FORTRAN program through Matlab using MEX file. Please examine Matlab docs.
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 08:15 |
| calling matlab from fortran | prasat | Main CFD Forum | 5 | February 4, 2003 16:04 |
| C++, Fortran and Matlab | Wole F. | Main CFD Forum | 11 | September 26, 2000 10:01 |