octave-maintainers
[Top][All Lists]
Advanced

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

Re: On being Matlab


From: Tom Holroyd (NIH/NIMH) [E]
Subject: Re: On being Matlab
Date: Wed, 01 Nov 2006 15:24:09 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929)



John W. Eaton wrote:
In that case, I think there is no point in being "sort of compatible"
so I say let's design a better language with cleaner syntax and
semantics.

The source of my frustration is precisely that people keep changing things. 
Code that used to work suddenly breaks. I think one of Octave's selling points 
should be the fact that it is stable.

I wasn't aware that Octave was generating a lot of warnings about
Matlab incompatible code.

warning: potential Matlab compatibility problem: " used as string delimiter
warning: potential Matlab compatibility problem: # used as comment character

I don't think these should be warnings. The potential problem doesn't exist.

The "spew" I am getting is really because of a flaw in the .m code I work with 
(sorry, I got carried away); for example,

   warning('off', 'MATLAB:divideByZero');
   out = sum(tmpin, dim) ./ sum(~isnan(in),dim);
   warning('on', 'MATLAB:divideByZero');

I had them off to start with. So setting them on in his code changes what I 
want for the rest of the code. This is just an example, one of several. Is 
there a way to turn warnings off permanently? (I know, fix the problem! Hmm, 
nobody seems to want to do that.)

--
Tom Holroyd, Ph.D.
We experience the world not as it is, but as we expect it to be.


reply via email to

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