Effacer les filtres
Effacer les filtres

using MultiSelect for selecting multiple selection of images

1 vue (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 1 Avr 2013
if i select images, i want to display those images.... and if i dont select any images.... i want to display the first 4 images from that folder..... how to do it sir.... please do reply....

Réponse acceptée

Walter Roberson
Walter Roberson le 1 Avr 2013
Use fullfile() instead of concatenating the pathname and filename.
You can detect no items selected by length(oldFileNames) being 0.
Getting the first 4 images in a folder can be done by using dir().

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by