Tutorial on how to build a GUI programmatically? (without using GUIDE)
이전 댓글 표시
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
Stephen23
2021년 1월 18일
Excellent tutorial from Rik:
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!