Effacer les filtres
Effacer les filtres

How to select multiple folders in dialog box

53 vues (au cours des 30 derniers jours)
zb li
zb li le 29 Mar 2019
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

Réponses (1)

Walter Roberson
Walter Roberson le 29 Mar 2019
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.

Catégories

En savoir plus sur File Operations 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