[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65135] setfield internal error
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #65135] setfield internal error |
Date: |
Mon, 8 Jan 2024 11:54:03 -0500 (EST) |
Update of bug#65135 (group octave):
Category: Interpreter => Classdef
Item Group: Incorrect Result => Matlab Compatibility
Operating System: Mac OS => Any
_______________________________________________________
Follow-up Comment #1:
Just to point out, the corresponding syntax outside of classdef does work.
val(1).b = 1;
val(2).b = 1;
x = {1 2};
[val.b] = x{:}
val =
1x2 struct array containing the fields:
b
val.b
ans = 1
ans = 2
I've attached the two m-files necessary for testing.
(file #55541, file #55542)
_______________________________________________________
Additional Item Attachment:
File name: SimpleObject.m Size:0 KB
<https://file.savannah.gnu.org/file/SimpleObject.m?file_id=55541>
File name: tst_SimpleObject.m Size:0 KB
<https://file.savannah.gnu.org/file/tst_SimpleObject.m?file_id=55542>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-674318988de1484e7bf702bfab8336fb35fb4650.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65135>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/