Does anybody know a way to convert Matlab code into Fortran and then compile Fortran mex dll file for Matlab 2006a? - Fortran

This is a discussion on Does anybody know a way to convert Matlab code into Fortran and then compile Fortran mex dll file for Matlab 2006a? - Fortran ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Does anybody know a way to convert Matlab code into Fortran and then compile Fortran mex dll file for Matlab 2006a?

  1. Default Does anybody know a way to convert Matlab code into Fortran and then compile Fortran mex dll file for Matlab 2006a?

    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. Default Re: Does anybody know a way to convert Matlab code into Fortran and then compile Fortran mex dll file for Matlab 2006a?

    On Jul 6, 9:49 pm, "Linus Utopia" <linus_uto...> wrote:
    > 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!


    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


+ Reply to Thread

Similar Threads

  1. FORTRAN BINARY FILE COMPATIBILITY W/ MATLAB
    By Application Development in forum Fortran
    Replies: 6
    Last Post: 07-18-2009, 01:44 PM
  2. Replies: 1
    Last Post: 07-09-2007, 10:14 AM
  3. how to convert this line of Matlab code into Fortran?
    By Application Development in forum Fortran
    Replies: 6
    Last Post: 07-09-2007, 08:09 AM
  4. mex file in matlab using compaq fortran compiler
    By Application Development in forum Fortran
    Replies: 0
    Last Post: 04-20-2007, 08:00 PM
  5. Re: fortran equivalent of matlab num2str
    By Application Development in forum Fortran
    Replies: 0
    Last Post: 03-16-2007, 06:33 PM