Plot figure on open GUI instead of new figure window

조회 수: 3 (최근 30일)
SatyaPrakash Gupta
SatyaPrakash Gupta 2020년 1월 13일
댓글: hadar shaulian 2021년 4월 20일
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

채택된 답변

Selva Karna
Selva Karna 2020년 1월 13일
axes(handles.axes1);
imshow(yourimage);
  댓글 수: 2
SatyaPrakash Gupta
SatyaPrakash Gupta 2020년 1월 13일
this has to be called in which figure : GUI figure or Main function Figure ?
hadar shaulian
hadar shaulian 2021년 4월 20일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by