[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to keep print compatiable with MATLAB
From: |
David Bateman |
Subject: |
Re: How to keep print compatiable with MATLAB |
Date: |
Mon, 26 Apr 2004 10:10:42 +0200 |
User-agent: |
Mutt/1.4.1i |
According to Joe Koski <address@hidden> (on 04/26/04):
> Just a quick observation. If Octave and Matlab were compiled instead of
> interpreted, this approach wouldn't be possible at all. A compiler would
> choke when it saw the other language's instruction set in the if statement.
> Are there potential syntax checking problems that could derail this
> approach?
Huh??? octave_config_info is a variable and the function exist checks
for its existence, hence the name of the function :-). As this variable
is a built in under octave and doesn't exist under matlab, the test in
the if-statement is harmless.
The one case that might cause you troubles is if a matlab user decided
that they wanted to definite the variable used in the test.
Cheers
David
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------------------------------------------------------
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
-------------------------------------------------------------