I am using GUIDE
to create a GUI
for my MATLAB
project.
In one of my callbacks for a button, I call a function.
[Name]= otherFunction(inputVariable);
set(handles.name,'String',Name);
After I receive the output from that function, I set the name label to the value of Name. Is it possible to set that from inside the function? What do I have to do to allow that function to access the GUIData?
I have tried using set/get from inside that function but I can't seem to get it to work.
Alternatively, is there anyway that I can make the 'handles' globally available?