[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65876] error retrieving data from struct valu
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps |
Date: |
Thu, 13 Jun 2024 05:21:54 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65876>
Summary: error retrieving data from struct values in
containers.Maps
Group: GNU Octave
Submitter: arb
Submitted: Thu 13 Jun 2024 11:21:54 AM CEST
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: stable
Discussion Lock: Any
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 13 Jun 2024 11:21:54 AM CEST By: A.R. Burgers <arb>
The script below fails in octave with:
error: subsref: function called with too many outputs
error: called from
subsref
tst at line 6 column 1
it does work in matlab R2019B
np = 11;
data.x = linspace(0, 10, np)';
data.y = rand(np,1);
cm = containers.Map;
cm('el1') = data;
plot(cm('el1').x, cm('el1').y);
fails for me with these versions:
GNU Octave Version: 9.1.91 (hg id: 97b44c6e3e35)
GNU Octave License: GNU General Public License
Operating System: Linux 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56
UTC 2024 x86_64
GNU Octave Version: 10.0.0 (hg id: 6f2baadfdb3d)
GNU Octave License: GNU General Public License
Operating System: Linux 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56
UTC 2024 x86_64
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65876>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps,
A.R. Burgers <=
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, John W. Eaton, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, John W. Eaton, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, John W. Eaton, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/14