bugGNU Octave - Bugs: bug #51086, matrix concatentation of struct...


bug #51086: matrix concatentation of struct with empty cell arrays should work

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Mon 22 May 2017 07:28:15 PM UTC  
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 22 May 2017 07:28:15 PM UTC, original submission:

According to a test done on the maintainers mailing list, in Matlab 2017a:

When a struct is the leading element in a row vector concatenation, and the remaining elements are all empty cell arrays, they should be ignored, the same as if they were empty matrices.

For example, this works in Octave:

If the trailing values are empty cell arrays, they should collapse the same way and the result should be just the scalar struct or struct array.

Mike Miller <mtmiller>
Project Administrator


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3