[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matlab and octave
From: |
Laurent Jacques |
Subject: |
Re: matlab and octave |
Date: |
Tue, 18 Nov 2003 16:08:09 +0100 |
User-agent: |
KMail/1.5.3 |
On Tuesday 18 November 2003 15:54, Andy Adler wrote:
| 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
Definitively better than my dirty code !
Laurent.
-------------------------------------------------------------
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, 2003/11/18
- Re: matlab and octave,
Laurent Jacques <=
Re: matlab and octave, A. S. Budden, 2003/11/19