[Top][All Lists]

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

[Octave-bug-tracker] [bug #55887] Edit changes to classdef object are se

From: Rik
Subject: [Octave-bug-tracker] [bug #55887] Edit changes to classdef object are seen(executed) after saving file and re-initializiing the object
Date: Tue, 14 Jan 2020 11:18:17 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #6, bug #55887 (project octave):

For compatibity with Matlab variables need to be removed by "clear classes". 
See https://www.mathworks.com/help/matlab/ref/clear.html.

If you don't want to lose variables then use

clear functions

which will clear the class definitions used for new instances, but leave
existing class objects and other variables alone.

The behavior in Octave 6.1 which wil be released within the next month is even
better.  It detects when the class definition file has changed and each new
instance will use the updated definitions without requiring "clear


Reply to this item at:


  Message sent via Savannah

reply via email to

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