I have one issue to solve which is the following:
I have a GUI (uipanel) and on that GUI there is a button. When the button is pressed, a figure opens and a uitable is created there. The table is editable and what I want is, when the figure is closed, that the edited data from the table is stored. Since the table is only created during the button press, the table handle only exists temporarily and this makes it difficult for creating callback functions that refer to this table. Are there any ideas on how to do this as simple as possible?
Since the callback function of the uipanel GUI has handles that operate with the guidata function, I tried storing the uitable handle in the structure from the GUI guidata. however, it still does not quite work.
I am thinking the simplest would be to define a deletefcn for the table, however, when the table and its handle is within the callback function of the gui, how can you implement the deletefcn properly? As far as I know I can’t define a callback function within a callback function
Any help apreciated!