bugGNU Octave - Bugs: bug #43683, Cell array on interpreter screen


bug #43683: Cell array on interpreter screen

Submitted by:  José Luis García Pallero <jgpallero>
Submitted on:  Mon 24 Nov 2014 02:28:23 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Mon 24 Nov 2014 08:45:10 PM UTC, comment #1: 

For a plain cell array, I'm in favor.

But what happens if a cell array contains another cell array, and maybe that contains a few structs? Nicely columnized output isn't possible then.
What does Matlab do?

Philip Nienhuis <philipnienhuis>
Project Member
Mon 24 Nov 2014 02:28:23 PM UTC, original submission:  


In the GNU Octave interpreter, if I create a cell array as, for example

a = {'a',1,2;'b',3,4}

I obtain on the screen the result

a =
  [1,1] = a
  [2,1] = b
  [1,2] =  1
  [2,2] =  3
  [1,3] =  2
  [2,3] =  4

But in Matlab I obtain

a =

    'a'    [1]    [2]
    'b'    [3]    [4]

I think the Matkab's output is better than tha Octave one, as it presents the cell array in a more intiutive form (as a matrix) than Octave.

It would be nice if GNU Octave use tha same behavior as Matlab for the cell array on screen output

José Luis García Pallero <jgpallero>


(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 jgpallero (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.5