bugGNU Octave - Bugs: bug #50875, which() returns 'built-in...

 
 

bug #50875: which() returns 'built-in function' for user object methods

Submitted by:  Ray Zimmerman <rdzman>
Submitted on:  Tue 25 Apr 2017 04:26:30 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: DuplicateAssigned to: None
Originator Name: Ray ZimmermanOpen/Closed: Closed
Release: 4.2.1Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 25 Apr 2017 04:37:28 PM UTC, comment #3:

Thanks for your bug report. This bug has already been reported, so closing as a duplicate. Please follow up on bug #49434.

Mike Miller <mtmiller>
Project Administrator
Tue 25 Apr 2017 04:31:00 PM UTC, comment #2:

Sorry, I meant to say that in Octave which() returns an empty string.

Ray Zimmerman <rdzman>
Tue 25 Apr 2017 04:29:52 PM UTC, comment #1:

I should add that when called as a function which() returns an empty string for each of the examples provided, while Matlab returns the path string for the first and last example.

Ray Zimmerman <rdzman>
Tue 25 Apr 2017 04:26:30 PM UTC, original submission:

For a user-defined class 'myclass', which() has different behavior on Octave and Matlab. For example, given the attached file, placed in a @myclass directory on the path, I get the following:

Matlab

Octave

Ray Zimmerman <rdzman>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #40506:  myclass.m added by rdzman (180B - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rdzman (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Apr 2017 04:37:28 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #49434
    Tue 25 Apr 2017 04:26:30 PM UTCrdzmanAttached File-=>Added myclass.m, #40506

    Back to the top


    Powered by Savane 3.1-cleanup1