how can i browse an image using matlab gui?
1 次查看(过去 30 天)
显示 更早的评论
can u send me a tutorial for solving my problem
7 个评论
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!