[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matlab and octave
From: |
Andy Adler |
Subject: |
Re: matlab and octave |
Date: |
Tue, 18 Nov 2003 09:54:21 -0500 (EST) |
On Tue, 18 Nov 2003, A. S. Budden wrote:
> I use both octave and matlab a lot -- octave on my laptop and matlab on
> the university machines. Is there any way of adding lines into a .m
> file such that either matlab or octave (mainly the former) will ignore
> the command.
I typically use:
if exist('OCTAVE_VERSION')
octave_commands;
else
matlab_commands;
end
There was a discussion about this on the list a while ago.
I believe this was the general consensus.
Andy
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- matlab and octave, A. S. Budden, 2003/11/18
- Re: matlab and octave, Laurent Jacques, 2003/11/18
- Re: matlab and octave, Geraint Paul Bevan, 2003/11/18
- Re: matlab and octave, David Bateman, 2003/11/18
- Re: matlab and octave, Geraint Paul Bevan, 2003/11/18
- Re: matlab and octave, David Bateman, 2003/11/18
- Re: matlab and octave, John W. Eaton, 2003/11/18
- Re: matlab and octave, Carlo de Falco, 2003/11/23
Re: matlab and octave, Miquel Cabanas, 2003/11/18
Re: matlab and octave,
Andy Adler <=
Re: matlab and octave, A. S. Budden, 2003/11/19