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

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

[Octave-bug-tracker] [bug #50539] builtin() is unable to call shadowed c


From: Rik
Subject: [Octave-bug-tracker] [bug #50539] builtin() is unable to call shadowed core isequaln.m
Date: Tue, 14 Mar 2017 11:37:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #50539 (project octave):

                  Status:                    None => Need Info              
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #1:

There might be multiple issues here.  I want to clarify the behavior of
exist() first.  In Octave, "builtin" means a compiled implementation of a
function.  Therefore, 


exist ("some_m_file_name", "builtin")


will return 0 since an m-file is not compiled.

>From the help page for builtin
(http://www.mathworks.com/help/matlab/ref/builtin.html)


A built-in function is part of the MATLAB executable. MATLAB does not
implement these functions in the MATLAB language. Although most built-in
functions have a .m file associated with them, this file only supplies
documentation for the function.


You can use the syntax which function to check whether a function is
built-in.

If you can check with an m-file that you know to be in the Matlab core
libraries (try 'which xxx' and look at the file to see if it is an m-file) and
then see what exist returns that would help debug this issue.

Also, take a look at the documentation for builtin.  It seems to suggest that
builtin only works when the "original" function is a compiled function, not
when it is an m-file.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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