- #1
lc99
- 161
- 3
So, so far in my MATLAB class, we've only learned the bare minimum for matlab's gui.
I only know how to set up callback functions so that certain buttons can either change the background color, string, or font size.
By doing. .. handles.pushbutton.FontSize = 3 , or handles.pushbutton.BackgroundColor= [0,0,1];
This is literally all we learned...
I never learned how to use 'hObject'. How would i use it to collect the data or like combine it if i have multiple callback functions that work together to perform the same thing? What would be the purpose and the basic setup. ..? is there something like hObject.pushbutton.data = 5?
I only know how to set up callback functions so that certain buttons can either change the background color, string, or font size.
By doing. .. handles.pushbutton.FontSize = 3 , or handles.pushbutton.BackgroundColor= [0,0,1];
This is literally all we learned...
I never learned how to use 'hObject'. How would i use it to collect the data or like combine it if i have multiple callback functions that work together to perform the same thing? What would be the purpose and the basic setup. ..? is there something like hObject.pushbutton.data = 5?