フィルターのクリア

how can i browse an image using matlab gui?

1 回表示 (過去 30 日間)
Ashitha
Ashitha 2013 年 7 月 10 日
can u send me a tutorial for solving my problem
  7 件のコメント
Ashitha
Ashitha 2013 年 7 月 10 日
@Dishant Arora: How to get path of uigetfile?
Jan
Jan 2013 年 7 月 10 日
You do not need the path of uigetfile. If you want to know how the path is replied by uigetfile, look at David's answer and read the documentation:
doc uigetfile

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

採用された回答

David Sanchez
David Sanchez 2013 年 7 月 10 日
Add the following to the pushbutton callback function
[filename, pathname, filterindex] = uigetfile('*.png', 'Pick a .PNG image');
You can change, of course, the extension of your images. Go to:
help uigetfile
or
doc uigetfile
for more options.
  3 件のコメント
Ashitha
Ashitha 2013 年 7 月 11 日
path is displayed in the text box.. but image is not displayed.. why it so??
Dishant Arora
Dishant Arora 2013 年 7 月 11 日
fileName = uigetfile('*.jpg');
imshow(fileName)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by