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:
convert a fortran program into matlab program

Subject: convert a fortran program into matlab program

From: sofia

Date: 29 Jan, 2011 14:52:03

Message: 1 of 4

Hello, I want to ask if there is a way in order to convert some fortran programs into matlab codes.

Subject: convert a fortran program into matlab program

From: Jim Dowd

Date: 29 Jan, 2011 18:00:04

Message: 2 of 4

Line-by-line.

Subject: convert a fortran program into matlab program

From: sofia

Date: 30 Jan, 2011 10:10:04

Message: 3 of 4

"Jim Dowd" wrote in message <ii1kj4$bfr$1@fred.mathworks.com>...
> Line-by-line.
what do you mean?

Subject: convert a fortran program into matlab program

From: Nasser M. Abbasi

Date: 30 Jan, 2011 10:15:54

Message: 4 of 4

On 1/30/2011 2:10 AM, sofia wrote:
> "Jim Dowd" wrote in message<ii1kj4$bfr$1@fred.mathworks.com>...
>> Line-by-line.

> what do you mean?

my guess, is to do it by hand.

i.e. look at the Fortran code, go line by line, and convert it to
Matlab.

Sometimes, this is the best way to do it. If the program is small, say
less than 1,000 lines or so.

--Nasser

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