help-octave
[Top][All Lists]
Advanced

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

Re: Octave / Matlab


From: Charles Stroom
Subject: Re: Octave / Matlab
Date: Mon, 14 Jan 2008 17:57:02 +0100

Thank you, yes, this is what I was looking for (except that in this old
version of Matlab 5.3.0 (1998?), the double quotes are not accepted and
have to be replaced by single quotes which is fine in octave as well).

Cheers,

Charles




On Sun, 13 Jan 2008 19:22:25 -0800 (PST)
address@hidden wrote:

> 
> Hi Charles,
> 
>    exist ("OCTAVE_VERSION", "builtin")
> 
> should be a fairly fool-proof test that you are running Octave rather
> than Matlab.
> 
>   Hth,
> 
>   Etienne
> 
> On Sun, January 13, 2008 13:26, Charles Stroom wrote:
> # Hi,
> #
> # I am new to octave (and matlab) and I am trying to get an existing
> # input file for matlab compatible for both matlab and octave.  This
> is # somewhat complicated because, for example, in the matlab version
> # originally used, the parameters of the wavwrite function are in a
> # different order than in octave.
> #
> # Hence my question: is there a conditional which I can use to test if
> # the input file is used by octave or matlab?  Something like:
> #
> # if (used_by_octave)
> #     wavwrite(file, a, b, c);
> # else
> #     wavwrite(a, b, c, file);
> # endif
> #
> # Thanks,
> #
> # Charles
> #
> #
> #
> #
> # --
> # Charles Stroom
> # email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")
> # _______________________________________________
> # Help-octave mailing list
> # address@hidden
> # https://www.cae.wisc.edu/mailman/listinfo/help-octave
> #
> 
> 


-- 
Charles Stroom
email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")


reply via email to

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