[Top][All Lists]

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

[Octave-bug-tracker] [bug #57865] Builtin is not calling the built in ve

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57865] Builtin is not calling the built in version
Date: Fri, 21 Feb 2020 10:46:14 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Update of bug #57865 (project octave):

                  Status:               Confirmed => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #6:

Functions in the current directory take precedence over functions in the
search path. If you know the path of the function you are shadowing, you could
cd to that directory, call the function, and cd back.

The following seems to work for me:

>> type xlim
xlim is the user-defined function defined from:

function xlim (varargin)

disp ('test xlim shadowing')
olddir = cd (fullfile (getenv ('OCTAVE_HOME'), 'share\octave', ...
                       ver ('octave').Version, 'm\plot\appearance'));

xlim (varargin{:});

cd (olddir);


>> xlim ([0 10])
test xlim shadowing

Since this is how "builtin" is supposed to work in Octave, I'll close the
report as invalid.


Reply to this item at:


  Message sent via Savannah

reply via email to

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