Tutorial on how to build a GUI programmatically? (without using GUIDE)
Mostrar comentarios más antiguos
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 comentario
Stephen23
el 18 de En. de 2021
Excellent tutorial from Rik:
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!