Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Matlab to Fortran conversion -- Ideas?

Subject: Matlab to Fortran conversion -- Ideas?

From: Susan

Date: 9 Aug, 2007 00:10:04

Message: 1 of 3

Greetings.

I'm a relative newbie, so apologies if I'm missed this in
previous posts.

I would like to convert some of my Matlab code (loops) into
Fortran to speed processing. Problem is ... I'm trying to
find someone to help me with this so I can spend time on
other aspects of my research project, rather than trying to
re-learn Fortran (last time I touched it -- college, 1983).

Any hints or direction on how to best find someone would be
appreciated.

Thanks for looking.
Susan

Subject: Matlab to Fortran conversion -- Ideas?

From: dpb

Date: 9 Aug, 2007 00:26:26

Message: 2 of 3

Susan wrote:
> Greetings.
>
> I'm a relative newbie, so apologies if I'm missed this in
> previous posts.
>
> I would like to convert some of my Matlab code (loops) into
> Fortran to speed processing. Problem is ... I'm trying to
> find someone to help me with this so I can spend time on
> other aspects of my research project, rather than trying to
> re-learn Fortran (last time I touched it -- college, 1983).
>
> Any hints or direction on how to best find someone would be
> appreciated.

comp.soft-sys.matlab

would be one place. But, if you go there and ask (nicely :) ) for some
expert help, you may find you can eliminate the loops from Matlab code
and not need to convert it.

--

Subject: Matlab to Fortran conversion -- Ideas?

From: Ash

Date: 9 Aug, 2007 03:32:48

Message: 3 of 3

"Susan " <sb03h@fsu.edu> wrote in message
<f9dm0s$7ps$1@fred.mathworks.com>...
> Greetings.
>
> I'm a relative newbie, so apologies if I'm missed this in
> previous posts.
>
> I would like to convert some of my Matlab code (loops) into
> Fortran to speed processing. Problem is ... I'm trying to
> find someone to help me with this so I can spend time on
> other aspects of my research project, rather than trying to
> re-learn Fortran (last time I touched it -- college, 1983).
SNIP*

Susan.. I usually do this (use ML for prototyping an
algorithm and then rewrite my code in F90) for
implementation on a cluster. That said, since this has been
pretty much my sad sad basis, i have been able to keep up
with F90. You may want to look at the following online pages:

http://www.physik3.gwdg.de/~engster/mex_fortran90.html
https://sourceforge.net/projects/matlab2fmex/
http://www.unige.ch/~hairer/software.html


Also, if in the process of conversion - if you get stuck,
post some code and maybe i might be able to help (like a
quite few others here)

Good luck..

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us