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

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

[Octave-bug-tracker] [bug #55668] Variable Editor cannot delete columns


From: Rik
Subject: [Octave-bug-tracker] [bug #55668] Variable Editor cannot delete columns in a row array
Date: Thu, 7 Feb 2019 12:40:54 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #55668 (project octave):

I think you're right about the confusion between row and column.

If you execute this in a command window, it works as expected.


tst = repmat (struct ("a", 1, "b", rand(3)), 3, 1)
tst(2:2, :) = []


BUT,


tst = repmat (struct ("a", 1, "b", rand(3)), 3, 1)
tst = tst.';
tst (2:2,:) = []
error: A(..,I,..) = []: index out of bounds: value 2 out of bound 1
tst (:,2:2) = []
tst =

  1x2 struct array containing the fields:





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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