keyongtech


  keyongtech > fortran > 07/2007

 #1  
07-07-07, 02:49 AM
Linus Utopia
Hi all,

I want to ask three questions regarding Fortran and Matlab interface. The
two tools I am using are: Intel Visual Fortran 10.1 and Matlab 2006a.

Q1. What is the best converter to convert Matlab code into Fortran code with
readability? My understanding is that Fortran and Matlab are both vectorized
and they should be pretty similar and such converter should do a good job.

Q2. Is there a wizard for Intel Visual Fortran under MS Visual Studio.Net
2003 or Visual Studio.Net 2005 to set up environments for building mex dll
file for Matlab on Windows XP? There is such a wizard tool for VC/C++, which
is very convenient, just create a MEX project in Visual Studio and the
compiled the result will be a mex dll for use in Matlab. I hope there is a
similar tool for Fortran?

Q3. Is there a tool to convert the Matlab code into Fortran with readability
and then automatically make itself a mex dll?

Thanks a lot!
 #2  
07-07-07, 12:44 PM
Ben
On Jul 6, 9:49 pm, "Linus Utopia" <linus_uto> wrote:
[..]
> 2003 or Visual Studio.Net 2005 to set up environments for building mex dll
> file for Matlab on Windows XP? There is such a wizard tool for VC/C++, which
> is very convenient, just create a MEX project in Visual Studio and the
> compiled the result will be a mex dll for use in Matlab. I hope there is a
> similar tool for Fortran?
>
> Q3. Is there a tool to convert the Matlab code into Fortran with readability
> and then automatically make itself a mex dll?
>
> Thanks a lot!


I've not yet used the tool myself, but I plan to give Matlab2FMEX a
try soon.

Here's a link

http://aede.osu.edu/people/roberts.6...lsandlinks.htm
Similar Threads
Does anybody know a method to make Matlab 2006a support Intel Visual Fortran 10.1?

Hi all, I downloaded and installed Intel Visual Fortran 10.1, only to find that it is not suppurted by Matlab 2006a yet. The "mex -setup" does not even recognize there is...

how to convert this line of Matlab code into Fortran?

Hi all, In my Matlab code, I have the following function call: y=maple('binomial', h, n+1); where "h" is in fact a negative irrational number(that's why we use maple...

mex file in matlab using compaq fortran compiler

I am attaching two functions which I want to translate to mex file to be used in matlab. I tried tons of time to construct a mex file(or separate mex files) to use two...

Write in Matlab and compile in Fortran ?!

Hello , I have program writed in Matlab and i'm going to use an enormous data to execute it, and see that Fortran is faster than Matlab, so i should rewrite it in...

translate FORTRAN to MATLAB code

hi all, can someone help me out? I got some FORTRAN code and I want to use it in MATLAB. I dont know FORTRAN, so can someone please recode this in MATLAB functions? thx!...


All times are GMT. The time now is 02:51 AM. | Privacy Policy