bugGNU Octave - Bugs: bug #44610, warning in findobj when using...


bug #44610: warning in findobj when using regexp

Submitted by:  Guillaume <gyom>
Submitted on:  Mon 23 Mar 2015 05:18:00 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 24 Mar 2015 03:57:24 AM UTC, comment #1: 

Fixed in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/ed53c87050e8).  Thanks for noticing this.

Rik <rik5>
Project Administrator
Mon 23 Mar 2015 05:18:00 PM UTC, original submission:  

A warning is displayed when calling findobj with the -regexp option:

>> H=figure;
>> uicontrol(H, 'Style', 'edit','String','hello','Tag','MyTag');
>> findobj(H, '-regexp', 'Tag', 'Tag$')
warning: value not equal to 1 or 0 converted to logical 1
warning: called from
    findobj at line 234 column 30
ans = -172.63

Proposed fix:

match(nh,np) = logical(foo);

Guillaume <gyom>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by gyom (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-24 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5