octave-maintainers
[Top][All Lists]
Advanced

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

Java predicate tests


From: Rik
Subject: Java predicate tests
Date: Fri, 21 Dec 2012 08:05:01 -0800

12/20/12

Could someone run the following in Matlab and report the results?  There
may be errors, but that would be interesting.

x = javaObject ('java.lang.String', 'Hello');
ischar (x)
y = [x ' World']
class (y)

z = javaObject ('java.lang.Double', 4.2);
isnumeric (z)
t = z + 3.1
class (t)

w = single (z)
w = uint8 (z)

--Rik


reply via email to

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