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

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

[Octave-bug-tracker] [bug #57212] Matlab incompatibility in getappdata()


From: anonymous
Subject: [Octave-bug-tracker] [bug #57212] Matlab incompatibility in getappdata() when opening GUIDE-built .fig files
Date: Tue, 12 Nov 2019 03:20:52 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

URL:
  <https://savannah.gnu.org/bugs/?57212>

                 Summary: Matlab incompatibility in getappdata() when opening
GUIDE-built .fig files
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 12 Nov 2019 08:20:50 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I've built a GUI in Matlab (R2010a) and am now trying to open it using Octave
on the same machine. When I try to execute it, I'm getting the following
error


stopped in gui_mainfcn at line 175 [.../MATLAB/GUI/gui/gui_mainfcn.m]
175:     gui_Options = getappdata(gui_hFigure,'GUIDEOptions');
error: structure has no member 'syscolorfig'
error: called from
    gui_mainfcn at line 181 column 9


Debugging revealed that the field 'GUIDEOptions' is stored in
gui_hFigure.applicationdata, but the function *getappdata()* is looking for
something like *__appdata__*. Matlab of course returns the correct output,
even though I can't see the field __appdata__ nor applicationdata (I'm
assuming that Matlab simply hides it). 

Disclaimer: I'm aware that full GUIDE-compatibility is not given in Octave at
the moment and that there are workarounds avoiding gui_mainfcn entirely, but I
thought I'd report the incompatibility regarding getappdata() nonethless. 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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