using MultiSelect for selecting multiple selection of images

1 次查看(过去 30 天)
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....

采纳的回答

Walter Roberson
Walter Roberson 2013-4-1
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().

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by