Filter löschen
Filter löschen

How to select multiple folders in dialog box

53 Ansichten (letzte 30 Tage)
zb li
zb li am 29 Mär. 2019
Beantwortet: Walter Roberson am 29 Mär. 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

Antworten (1)

Walter Roberson
Walter Roberson am 29 Mär. 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.

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by