How to select multiple folders in dialog box

HI everyone
I have one dir with 20 folders, I know how to use uigetfile select multiple files but i don't know how to select multiple folders in dialog box.
can anyone help me?
thankyou
li

Answers (1)

You cannot -- or at least Mac does not permit selecting folders at all (only moving between them) for uigetfile()
There is uigetdir() but it does not permit multiselection.
It is possible to work on the Java level to invoke the key routines that uigetfile() and uigetdir() invoke, but turning on multiselection on the folder browser. I just tested it the possibility interactively and was able to select multiple folders.

Categories

Find more on App Building in Help Center and File Exchange

Asked:

on 29 Mar 2019

Answered:

on 29 Mar 2019

Community Treasure Hunt

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

Start Hunting!