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

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

[Octave-bug-tracker] [bug #63132] cell input for cell()


From: Guillaume
Subject: [Octave-bug-tracker] [bug #63132] cell input for cell()
Date: Thu, 29 Sep 2022 05:43:26 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63132>

                 Summary: cell input for cell()
                 Project: GNU Octave
               Submitter: gyom
               Submitted: Thu 29 Sep 2022 09:43:25 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Undocumented Matlab
                  Status: None
             Assigned to: None
         Originator Name: guillaume
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 29 Sep 2022 09:43:25 AM UTC By: Guillaume <gyom>
It seems Matlab has a copy constructor for cells:

++
>> cell ({1})
ans =
  1x1 cell array
    {[1]}
>> cell ({}) 
ans =
  0x0 empty cell array
--

while Octave doesn't:

++
>> cell ({1})
error: octave_base_value::array_value(): wrong type argument 'cell'
>> cell ({})
error: cell (A): use cell (size (A)) instead
--








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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