how to get image from a folder of choice?

2 次查看(过去 30 天)
I want to show a dialogbox that allows a user to input a particular folder name from which he wants to chose a image from. for instance enter choice 1 if you want healthy images of plant from folder A; choice 2 if u want unhealthy images from folder 2 and so on. there are four different folders in total containing different type of images. Moreover Images are in different from eg. .png, .jpeg. I want to Place this code in if else structure. the code should be such that if a person enters a choice that directly that image folder opens. please help me out here thanks

采纳的回答

Muzamil
Muzamil 2018-4-8
i have found a solution to this...

更多回答(1 个)

Image Analyst
Image Analyst 2018-4-8
I'd use questdlg() or listdlg(), or possibly menu().

Community Treasure Hunt

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

Start Hunting!

Translated by