So I'm working on a project that requires programmatic GUI development, and I'm trying to set a variable to public so it can be used and shared between multiple callback functions.
I'm essentially trying to make the:
properties (Access = public)
x = 1234
happen but obviously it does not work. Is there a way to set a variable to be shared between callback functions programmatically?
FYI; I'm using a uifigure based GUI so I can't use anything that only works on a figure based GUI.