[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47755] Access to object arrays
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-bug-tracker] [bug #47755] Access to object arrays |
Date: |
Mon, 15 Apr 2019 22:19:46 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 |
Follow-up Comment #8, bug #47755 (project octave):
Desired is to be compatible with Matlab. Less a Roadmap, more a state of the
art, is given in the wiki: https://wiki.octave.org/Classdef
What I can confirm is, that for the latest development release the original
issue has not changed:
>> ver
----------------------------------------------------------------------
GNU Octave Version: 6.0.0 (hg id: 159402e52cfa)
GNU Octave License: GNU General Public License
Operating System: Linux 4.12.14-lp150.12.58-default #1 SMP Mon Apr 1 15:20:46
UTC 2019 (58fcc15) x86_64
----------------------------------------------------------------------
>> a(1) = myclass(1);
>> a(2) = myclass(2);
>> a.myprop
ans = 1
ans = 2
>> a.myprop()
error: can't perform indexing operation on array of myclass objects
>> myprop(a)
ans =
1 2
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?47755>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/