bugGNU Octave - Bugs: bug #53464, Excessive output displayed for...

 
 

bug #53464: Excessive output displayed for deep structs

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Sun 25 Mar 2018 03:44:03 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Mar 2018 07:04:40 PM UTC, comment #1: 

This is basically the same as bug #40211.

Mike Miller <mtmiller>
Group Member
Sun 25 Mar 2018 03:44:03 PM UTC, original submission:  

Following on from #53421, Octave is overly verbose when displaying struct members that are arrays. I.e. it completely prints out the entire array.

MATLAB

>> a.b=rand(1); a
a =
  struct with fields:

    b: 0.4711
>> a.b=rand(2); a
a =
  struct with fields:

    b: [2×2 double]
>> a.b=rand(200); a
a =
  struct with fields:

    b: [200×200 double]
>> disp(a)
    b: [200×200 double]


Octave

>> a.b=rand(1); a
    a =
      scalar structure containing the fields:
        b =  0.16176
>> a.b=rand(2); a
    a =
      scalar structure containing the fields:
        b =
           0.81968   0.82219
           0.24580   0.23479
>> a.b=rand(200); a

...(pages of output)...

>> disp(a)

...(pages of output)...


Ceral Paquet <octavebugs>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by octavebugs (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-26 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #40211

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code