[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: matlab to Octave conversion

From: Joe Koski
Subject: Re: matlab to Octave conversion
Date: Mon, 12 Jun 2006 20:08:13 -0600
User-agent: Microsoft-Entourage/

on 6/12/06 2:43 PM, MICHAEL FORREST at address@hidden wrote:

> Dear all,
> Im having real problems getting the attached matlab model to run in Octave.
> Has anyone got any pointers on adjustment to get it Octave compliant? I
> would be so, so grateful for any help. i hope that this reaches you well.
> All the best,
> Michael

I took a quick look at the routines, but didn't try to use them. The only
thing that I see that that is different from MATLAB to octave is that the
plot routines do not follow the same order. In octave axis (and several
other plot setup routines) precede the plot statement. This is backwards
from MATLAB.

I have successfully converted several third-party MATLAB routines to octave,
but it requires some diligence, especially if MATLAB toolbox routines are
used. My experience is that octave is good about telling you what's wrong.
First you go to

to see what the MATLAB routine in question does, and then go to

to look for equivalent octave or octave-forge routines. If you don't have
octave-forge installed, you'll need it sooner or later.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]