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

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

[Octave-bug-tracker] [bug #47763] load: function handle to user function


From: Guillaume
Subject: [Octave-bug-tracker] [bug #47763] load: function handle to user function uses full path, should just search load path
Date: Mon, 25 Apr 2016 16:58:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #7, bug #47763 (project octave):

Just to add that, both Matlab and Octave behave in the same way when a
function handle is created from a function in the search path and later on
removed from said search path:


>> functions(f)
ans =
    function: 'myfoo'
        type: 'simple'
        file: '/tmp/foo2/myfoo.m'
>> f()
foo2
>> rmpath /tmp/foo2
>> f()
foo2
>> myfoo
Undefined function or variable 'myfoo'.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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