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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59439] function handles should be able to reload subfunctions
Date: Tue, 10 Nov 2020 10:00:57 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Edg/86.0.622.63

Update of bug #59439 (project octave):

                Category:                Plotting => Interpreter            
                 Summary:            legend issue => function handles should
be able to reload subfunctions

    _______________________________________________________

Follow-up Comment #2:

For compatibility with Matlab, the subfunction should probably be able to
reload.

The attached example has the following output in Matlab R2020b if I click the
button twice before and after `clear all`:

>> clear all
>> bug59439_function
test: 1
test: 2
>> clear all
test: 1
test: 2


The same in Octave 6.0.92:

>> bug59439_function
>> test: 1
test: 2
clear all
>> error: 'subfunction' undefined near line 6, column 6
error: called from
    bug59439_function>@<anonymous> at line 6 column 79


Very similar error in 5.2.0. So this isn't a regression.

I don't think the general issue should block the Octave 6 release. Maybe a
short time fix could be made to "legend" though.

(file #50237)
    _______________________________________________________

Additional Item Attachment:

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



    _______________________________________________________

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]