フィルターのクリア

How to select multiple folders in dialog box

53 ビュー (過去 30 日間)
zb li
zb li 2019 年 3 月 29 日
回答済み: Walter Roberson 2019 年 3 月 29 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 3 月 29 日
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.

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by