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 13:33:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #50539 (project octave):

If Octave is behaving like Matlab then there is no bug to fix here.

For the motivating issue for this report, I think there is no easy way short
of finding the function yourself.  I would first determine whether you are
running Octave or Matlab and then find the full path to isequaln.m and use
that in the try/catch block.  The function hasn't moved around much in Octave
so you could get by with a fixed string.


fcn_path = fullfile (OCTAVE_HOME, "share", "octave", version (), "m",
"general", "isequaln.m");


Or you could try something like 


fcn_path = file_in_loadpath ("isequaln.m", "all")


and then figure out which version was your replacement and which was the
m-file from the core libraries.


    _______________________________________________________

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]