Plot figure on open GUI instead of new figure window

4 visualizaciones (últimos 30 días)
Hello Together,
I have a GUI where i call the main funtion via callback function of GUI.
the main function open another figure window , i would like to open this figure on gui itself
could you please do help me out how shall i proceed with it ?
thank you

Respuesta aceptada

Selva Karna
Selva Karna el 13 de En. de 2020
axes(handles.axes1);
imshow(yourimage);
  2 comentarios
SatyaPrakash Gupta
SatyaPrakash Gupta el 13 de En. de 2020
this has to be called in which figure : GUI figure or Main function Figure ?
hadar shaulian
hadar shaulian el 20 de Abr. de 2021
When wrting this line in my Matlab 2020b GUI (after creating the proper axis in the Matlab guide tool):
axes(handles.axes1);
I get an error: "Unable to resolve the name handles.axes1"
Any idea how to solve this?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by