bugGNU Octave - Bugs: bug #65179, Arrays of classdef objects not...

 
 

bug #65179: Arrays of classdef objects not implemented

Submitter:  Rik <rik5>
Submitted:  Thu 18 Jan 2024 04:55:58 PM UTC
   
 
Category:  Classdef Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Jan 2024 04:55:58 PM UTC, original submission:  

Many bugs have been reported against classdef which all relate to the fact that Octave does not implement an array container for objects.  Hence, placing multiple objects into an array with square bracket notation fails.  As does trying to concatenate objects into an array with square brackets.  As does transposing arrays of objects.  And Octave is obviously not Matlab compatibile here as certain metalist functions return object arrays.

The currently suggested workaround is to use cell arrays which are a container that supports concatenation, transposition, etc.  But there are still differences.  See bug #53906.  For example, the properties of an object can be referenced using dot notation from an object array just as they can from struct arrays (which possibly provides a clue on how best to implement this).

Filing this bug report to be a central location for work on this topic.  I will point other bugs to depend on this item.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-30 rik5 Dependencies- bugs #44665 is dependent
    2024-01-23 mmuetzel CategoryInterpreter Classdef
    2024-01-18 rik5 Dependencies- bugs #60768 is dependent
    2024-01-18 rik5 Dependencies- bugs #53906 is dependent
    2024-01-18 rik5 Dependencies- bugs #56323 is dependent
    2024-01-18 rik5 Dependencies- bugs #62000 is dependent
    2024-01-18 rik5 Dependencies- bugs #55865 is dependent
    2024-01-18 rik5 DependenciesRemoved dependency to bugs #55865 -
    2024-01-18 rik5 Dependencies- Depends on bugs #55865

    Back to the top

    Powered by Savane 3.13-7c56.
    Corresponding source code