margo icon indicating copy to clipboard operation
margo copied to clipboard

Error opening Margo gui in Matlab R2025a

Open rjs360 opened this issue 6 months ago • 0 comments

Hi there, I initially posted this as a reply to issue #44 (which seems to be an identical issue in an older Matlab version), but thought it better to open a new issue:

I just cloned the latest Margo version (am assuming v. 1.0.4), and am getting the same error as in issue #44 (it seems) running Matlab R2025a (while it runs fine in R2024a):

Error setting property 'Position' of class 'Panel': Width and height must be greater than or equal to 0

Error in defaultConfigureGUI (line 55) bp.Position(4) = rp.Position(2) - bp.Position(2);

Error in setupMargo (line 8) handles = defaultConfigureGUI(handles);

Error in margo>margo_OpeningFcn (line 67) [expmt, handles] = setupMargo(handles);

Error in gui_mainfcn (line 220) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in margo (line 48) gui_mainfcn(gui_State, varargin{:});

Thanks in advance for any ideas.

rjs360 avatar Oct 22 '25 19:10 rjs360