bugGNU Octave - Bugs: bug #52759, precedence order for exist()

 
 

bug #52759: precedence order for exist()

Submitter:  Rik <rik5>
Submitted:  Thu 28 Dec 2017 10:27:17 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Dec 2017 10:27:17 PM UTC, original submission:  

It appears that Matlab may have changed their precedence order when there are multiple matches for a name.  According to Octave's documentation, the precedence order is


variable, built-in function, oct-file, directory, file, class.


It would appear from Matlab's documentation that the new order is


variable, directory, built-in function, oct-file, file, class.


This should be tested, perhas with a mex file "abc.mex" and a directory "abc" in the current directory and then executing


x = exist ('abc')


to see the return code.

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code