MATLAB Answers

0

How can i share data between callbacks in GUI effectively ?

Asked by Vasishta Bhargava on 4 Jul 2018
Latest activity Answered by Image Analyst
on 4 Jul 2018
I have GUI which has uitable to display data. When I make changes to the table data using celleditcallback, I get this error if I use the steps shown by code below, A Is data array
Reference to non-existent field 'A'. Error in Student_Academi_Data>uitable1_CellEditCallback (line 2178) A = handles.A Error in gui_mainfcn (line 95) feval(varargin{:}); Error in Student_Academi_Data (line 42) gui_mainfcn(gui_State, varargin{:}); Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)Student_Academi_Data('uitable1_CellEditCallback',hObject,eventdata,guidata(hObject)) Error while evaluating Table CellEditCallback

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Image Analyst
on 4 Jul 2018
 Accepted Answer

There is a thorough discussion in the FAQ: https://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F so I won't repeat it here.

  0 Comments

Sign in to comment.