how to get image from a folder of choice?

2 vues (au cours des 30 derniers jours)
Muzamil
Muzamil le 4 Avr 2018
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

Réponse acceptée

Muzamil
Muzamil le 8 Avr 2018
i have found a solution to this...

Plus de réponses (1)

Image Analyst
Image Analyst le 8 Avr 2018
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