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

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

[Octave-bug-tracker] [bug #54576] MATLAB inconsistency when assigning to


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #54576] MATLAB inconsistency when assigning to nonexistent variable using subsref (:)
Date: Sun, 26 Aug 2018 13:56:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

URL:
  <http://savannah.gnu.org/bugs/?54576>

                 Summary: MATLAB inconsistency when assigning to nonexistent
variable using subsref (:)
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Sun 26 Aug 2018 05:56:27 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:



MATLAB

>> clear all
>> a(:)=1:10;
>> b(:)=(1:10)';
>> whos
  Name      Size            Bytes  Class     Attributes

  a         1x10               80  double              
  b         1x10               80  double               



Octave 4.4

>> clear all
>> a(:)=1:10;
error: =: nonconformant arguments (op1 is 0x1, op2 is 1x10)





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54576>

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




reply via email to

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