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 件のコメント

nida
nida 2014 年 4 月 14 日
編集済み: nida 2014 年 4 月 14 日
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
Attach your m file.
nida
nida 2014 年 4 月 14 日
編集済み: nida 2014 年 4 月 14 日
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

サインインしてコメントする。

Image Analyst
Image Analyst 2014 年 4 月 14 日
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 ExchangeImages についてさらに検索

タグ

質問済み:

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