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

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

[Octave-bug-tracker] [bug #45893] classdefs are cached by GUI


From: antonkulaga
Subject: [Octave-bug-tracker] [bug #45893] classdefs are cached by GUI
Date: Mon, 07 Sep 2015 08:47:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45893>

                 Summary: classdefs are cached by GUI
                 Project: GNU Octave
            Submitted by: antonkulaga
            Submitted on: Пнд 07 Сен 2015 08:47:49
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: WTF, Matlab?!?
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I cannot work with classdefs in Octave GUI because they are cached.

When I create and save a class with several properties and save it and then
use it in the console the class is cached somewhere. When I add some new
properties or change values of current ones I do not see such changes from
octave console (inside GUI), so new props are not added, old props are not
changed. It is a serious problem that forces me to move to Matlab in my
project that I really do not want to do =((((

To reproduce the proble create a class

classdef foo
  properties
    bar = 'value'
  end
end

then save the file and to console
$ myfoo = foo()
myfoo.bar

You will get 'value" for the bar. But then if you will add several other
properties to the class they will not be found and if you change bar value in
class description it will still display the oldone.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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