I wrote a simple function which incorporates creation of a figure and pusbutton.
I expected that after pressing the button, the function will provide the answer based on what callcack function of pushbutton is performing:
function [B,success] = TGA_MAIN(X,Y,L,W,Xb,Yb,Lb,Wb, STRING)
My expectation was that after I press button, the answer must be q=5,s=1.
However, I see q=0,s=0, which I defined in very beginning of soft.
The pressing of the button changes nothing...
Example of call: