How do i display multiple output image from m-file in single axes with option to navigate in guide?

i need to display my output in axes in guide with option to move from one image to another. also on trying to display output in single axes from m-file iget error message ?? undefined variable 'handles' axes(handles.axes2)

답변 (2개)

Insert this in the gui OpeningFcn and see what it echos at the command prompt:
Flag = isfield(handles , 'axes2')
Flag should be 1 if there exist an object with tag axes2 else 0.
To see the tags:
getfiellds(handles)

댓글 수: 3

i did get 1 in command window,and axes window pops out.now thing is i have m-file with output images and want to display them in axes figure, whatever ido i get axes(handles.axes2) error your help is truly appreciated
i have attached my gui m-file ,fig file and my code file for output images in my code file bargraph is bar plots .thats separate

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

Maybe try MAGIC: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component. It has the UI framework all ready to go. Just insert your code into the "AnalyzeSingleImage" function.

카테고리

도움말 센터File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

질문:

2014년 4월 14일

답변:

2014년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by