bugGNU Octave - Bugs: bug #46652, whos bytes property not right for...


bug #46652: whos bytes property not right for classdef classes

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Thu 10 Dec 2015 12:43:50 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
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 11 Mar 2019 08:36:58 PM UTC, comment #2: 

Closing as a duplicate of bug #55810.

This bug is still present, and has been reported more recently as bug #55810. There is more discussion there, so closing this as a duplicate.

Mike Miller <mtmiller>
Project Administrator
Thu 10 Dec 2015 04:36:26 PM UTC, comment #1: 

Confirmed for classdef classes. Old @-style classes do show the size of the class in bytes correctly.

Classdef support is an ongoing work in progress. Please consider consulting the wiki page for limitations of classdef, and add this item to the page if not already there:


Mike Miller <mtmiller>
Project Administrator
Thu 10 Dec 2015 12:43:50 PM UTC, original submission:  

The bytes property does not seem to be calculated for class objects.

octave:1> q = myclass;
octave:2> whos('q')
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        q           1x1                          0  myclass

Total is 1 element using 0 bytes

octave:3> w = whos('q');
octave:4> w.bytes
ans = 0


classdef myclass


Ceral Paquet <octavebugs>


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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by octavebugs (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.




    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-11 mtmiller StatusConfirmed => Duplicate
        Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #55810
    2019-03-11 mtmiller Carbon-CopyRemoved 80942 => -
    2015-12-10 mtmiller StatusNone => Confirmed
        Release4.0.0 => dev
        Operating SystemGNU/Linux => Any
        Summarywhos bytes property not right for class => whos bytes property not right for classdef classes
    2015-12-10 mtmiller CategoryNone => Interpreter
        Item GroupNone => Incorrect Result

    Back to the top

    Powered by Savane 3.6