From: Frederic PETITPRES on
Indeed, it's F90. I will try to rewrite it completly. It could be too time consuming to translate step by step my Fortran code.

I thank you very much :)
From: dpb on
Frederic PETITPRES wrote:
> Indeed, it's F90. I will try to rewrite it completly. It could be too
> time consuming to translate step by step my Fortran code.
> I thank you very much :)

But why not just a mex interface is what I'm asking. IOW, why reinvent
an existing wheel?

--
From: TideMan on
On Jul 13, 1:22 pm, dpb <n...(a)non.net> wrote:
> Frederic PETITPRES wrote:
> > Indeed, it's F90. I will try to rewrite it completly. It could be too
> > time consuming to translate step by step my Fortran code.
> > I thank you very much :)
>
> But why not just a mex interface is what I'm asking.  IOW, why reinvent
> an existing wheel?
>
> --

I agree with you dpb.
There are so many ways of killing this particular cat.
It seems that Frederic has chosen the most difficult.
From: Frederic PETITPRES on

> I agree with you dpb.
> There are so many ways of killing this particular cat.
> It seems that Frederic has chosen the most difficult.

I will try with MEX-files. But I have no idea how I can do that. It's frightening...
I have four Fortran files :
one MODULE
two SUBROUTINES
and the main PROGRAM

Do I have to work with Linux?

thank you for your answers and your advice.
From: dpb on
Frederic PETITPRES wrote:
>
>> I agree with you dpb.
>> There are so many ways of killing this particular cat.
>> It seems that Frederic has chosen the most difficult.
>
> I will try with MEX-files. But I have no idea how I can do that. It's
> frightening...
> I have four Fortran files : one MODULE
> two SUBROUTINES
> and the main PROGRAM
>
> Do I have to work with Linux?
> thank you for your answers and your advice.

Whatever system you have Matlab on I would presume...

The problem in adding any additional advice is you haven't said a word
(and as I noted earlier the crystal ball is dim on the subject) about
what you want the Matlab implementation of this program to do and how
that relates to the function of the Fortran portion you already have...

Why does Matlab enter into the equation at all?

--