octave-maintainers
[Top][All Lists]
Advanced

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

Re: Conversion from uint8 to char fails


From: Judd Storrs
Subject: Re: Conversion from uint8 to char fails
Date: Wed, 22 Apr 2009 18:00:16 -0400

Thank you,

I'd like to start helping out around here. I figure a good place to start is by writing test cases. Is there an existing mechanism for running test cases in Matlab as well as octave? Would being able to run the subset of the test-suite in Matlab be useful?

--judd


On Wed, Apr 22, 2009 at 5:29 PM, John W. Eaton <address@hidden> wrote:
On 22-Apr-2009, Judd Storrs wrote:

| Here's another difference between octave and matlab:
|
| octave:1> x = char(uint8(65))
| warning: range error for conversion to character value
| error: value on right hand side of assignment is undefined
|
| matlab> x = char(uint8(65))
|
| x =
|
| A

I checked in the following change:

 http://hg.savannah.gnu.org/hgweb/octave/rev/7120fbbecf97

BTW, the list name address@hidden is just an alias for
address@hidden.  There's no need to send your message to
both addresses.

Thanks,

jwe


reply via email to

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