[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49722] Incompatible behavior of "isprop"
From: |
Avinoam Kalma |
Subject: |
[Octave-bug-tracker] [bug #49722] Incompatible behavior of "isprop" |
Date: |
Sat, 17 Dec 2016 20:36:36 -0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?49722>
Summary: Incompatible behavior of "isprop"
Project: GNU Octave
Submitted by: avinoam
Submitted on: Mon 28 Nov 2016 05:55:28 AM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Avinoam
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0
Operating System: Any
_______________________________________________________
Details:
On Matlab 2015a
>> a = struct ('x1', 1, 'x2', 2, 'x3', 3);
>> isprop (a, 'x3')
ans =
0
>> b(1) = struct ('x1', 1, 'x2', 2, 'x3', 3);
>> b(2) = struct ('x1', 1, 'x2', 2, 'x3', 3);
>> isprop (b, 'x3')
ans =
0 0
while Octave exits with error:
>> a = struct ('x1', 1, 'x2', 2, 'x3', 3);
>> isprop (a, 'x3')
error: isprop: H must be a graphics handle or vector of handles
error: called from
isprop at line 40 column 5
>> b(1) = struct ('x1', 1, 'x2', 2, 'x3', 3);
>> b(2) = struct ('x1', 1, 'x2', 2, 'x3', 3);
>> isprop (b, 'x3')
error: isprop: H must be a graphics handle or vector of handles
error: called from
isprop at line 40 column 5
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49722>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #49722] Incompatible behavior of "isprop",
Avinoam Kalma <=