"computer" command not compatible with Matlab

John W. Eaton jwe at octave.org
Thu Feb 5 14:40:40 CST 2009


On  5-Feb-2009, Frederick_Umminger at playstation.sony.com wrote:

| Bug: The  "computer" command behaves differently in Octave compared to 
| Matlab. This breaks .m files that rely on it.
| 
| Version: 3.0.3, Windows 32-bit
| 
| Steps to reproduce:
| > computer()
| ans = i686-pc-msdosmsvc
| 
| Should return:
| ans = PCWIN

I think that is taking compatibility a little too far.

Is it really necessary?  If some code you have breaks because you
don't get precisely this result, then I think you should fix the
code.  But, out of curiosity, how are you using the result in a way
that causes problems, and that couldn't be fixed by using ispc
instead?

jwe


More information about the Bug-octave mailing list