octave-maintainers
[Top][All Lists]
Advanced

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

Conversion from uint8 to char fails


From: Judd Storrs
Subject: Conversion from uint8 to char fails
Date: Wed, 22 Apr 2009 17:03:22 -0400

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


--judd

reply via email to

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