Tutorial on how to build a GUI programmatically? (without using GUIDE)
Show older comments
I am looking for a tutorial on how to build a GUI in Matlab without using GUIDE. Unfortunately most information online is about GUIDE and GUIDE's output.
For example, I don't understand why this works:
bgColor = get(source,'BackgroundColor');
if all(bgColor)
bgColor = [1 1 1];
disp white
end
but this doesn't work:
if bgColor = [1 1 1]
dips white
end
I have also difficulties understanding the concept of handles and callback function. Is a handle a predetermined value? I thought it was. But if I write
'callback',{@my_funct,h1}
am I assigning the handle h1?
These are the kind of questions I have, that's why I would like to read a good tutorial. I haven't found one yet.
1 Comment
Stephen23
on 18 Jan 2021
Excellent tutorial from Rik:
Accepted Answer
More Answers (0)
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!