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

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

[Octave-bug-tracker] [bug #59439] function handles should be able to rel


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59439] function handles should be able to reload subfunctions
Date: Tue, 10 Nov 2020 10:52:08 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

Can someone run the following tests using the foo.m file I'm attaching? 
Execute the following commands manually at the Matlab prompt and report the
output.


fh = foo ();

%% Calling the function handle should display messages
%% about initializing persistent variables.

fh ();

%% At this point, edit foo.m and uncomment the call to
%% fprintf in the foosubb subfunction.

%% If the functions referenced by the handle fh are
%% reloaded when calling foo:foosuba through the handle,
%% then we should see the messages about initializing
%% the persistent variables again.

fh ();

%% Now clear the functions from the interpreter.

clear functions

%% If the functions referenced by the handle fh are
%% reloaded when calling foo:foosuba through the handle,
%% then we should see the messages about initializing
%% the persistent variables again.

fh ();



(file #50238)
    _______________________________________________________

Additional Item Attachment:

File name: foo.m                          Size:0 KB
    <https://file.savannah.gnu.org/file/foo.m?file_id=50238>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59439>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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