[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Conversion from uint8 to char fails
From: |
John W. Eaton |
Subject: |
Conversion from uint8 to char fails |
Date: |
Wed, 22 Apr 2009 17:29:48 -0400 |
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