How to put pictures in a GUI that opens from the main GUI!
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Valarie
el 14 de Feb. de 2016
Comentada: Valarie
el 15 de Feb. de 2016
Hello! I created a GUI with buttons that call other side GUI, each with different information. But I still fail to put images in these windows, and need multiple images to better explain the content.
Please help me!
2 comentarios
Geoff Hayes
el 14 de Feb. de 2016
Valaire - you need to provide more information. Where are you trying to "put" these images? Have you defined axes objects within your GUI (or GUIs)?
Respuesta aceptada
Geoff Hayes
el 15 de Feb. de 2016
Valarie - your line of code
open('help01.fig');
just opens or displays the figure corresponding to the GUI but does not perform any of the initializations that would occur when launching the GUI correctly. Replace this callback with just
function pushbutton16_Callback(hObject, eventdata, handles)
help01;
to launch the GUI when pressing this pushbutton 16. Note also, that if you want to show the image when the help GUI launches, you must put that command in the OpeningFcn of your GUI (not the pushbutton 5 unless you intend the image to load when the user presses this button).
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!