octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55810] sizeof() returns 0 for classdef object


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55810] sizeof() returns 0 for classdef objects
Date: Tue, 5 Mar 2019 14:29:08 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36

Follow-up Comment #8, bug #55810 (project octave):

Ack that. Trying again with 'datetime' in the Matlab online tool


>> x = datetime(zeros(100, 3));
>> size(x)
ans = 1×2

    100     1

>> s = whos('x'); s.bytes
ans = 801


So yeah, it does look like the 'bytes' size of classdef objects defined in m
files reflects the sum of the sizes of its properties.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55810>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]