bachlab / PsPM

A matlab suite for Psycho-Physiological Modelling
GNU General Public License v3.0
43 stars 11 forks source link

MATLAB 2019 issue #737

Open teddychao opened 4 months ago

teddychao commented 4 months ago

Summary

There seems to be a UI issue associated with MATLAB 2019.

Steps to Reproduce

  1. In GUI, run data preparation -- trim, select the following options image

Actual Results

Error while evaluating PushTool ClickedCallback.

Error using matlab.ui.Figure/set
Functionality not supported with figures created with the uifigure function. For more information, see Graphics Support in App
Designer.

Error in cfg_ui>local_pointer (line 189)
set(get(0,'Children'),'Pointer',ptr);

Error in cfg_ui>MenuFileRun_Callback (line 702)
local_pointer('watch');

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in cfg_ui (line 53)
    gui_mainfcn(gui_State, varargin{:});

Error while evaluating PushTool ClickedCallback.

Technical Info

teddychao commented 4 months ago

This issue is only associated with App Design-based GUI. It could be caused by the support of MATLAB 2019 to App Designer. The issue cannot be replicated when using pspm_guide and MATLAB 2019, or using pspm (App Designer) and MATLAB 2024.

teddychao commented 3 months ago

I am still unable to replicate this error with MATLAB 2024. I am going to mention this issue in manual. I have marked this issue as a "MATLAB Version Issue" and temporarily leave it open.