recognizing the content of uigetfile

1 view (last 30 days)
Hi I'm using Gui's 'uigetfile' function to load some pictures. the problem is that I need to distinguish weather I read one pictures or more (I've enabled the 'MultiSelect' option). the pictures are in a format of '###-#.jpg' so when only one picture is chosen and I use LENGTH the answer is '9' but if 3 pictures where chosen than LENGTH would be 3. Now let's say the user chooses 9 pictures, how can I know if he chose one picture or 9? Thanks

Accepted Answer

Walter Roberson
Walter Roberson on 26 Apr 2016
iscell() will be true if the user selected multiple entries.

More Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!