필터 지우기
필터 지우기

How to change properties of the uigetfile / uigetdir dialog box

조회 수: 8 (최근 30일)
Mikael Agopov
Mikael Agopov 2020년 3월 24일
답변: Harsha Priya Daggubati 2020년 3월 27일
Our company standardly has to deal with quite long file and directory names, which makes using uigetfile / uigetdir a little bit annoying.
So I would like to modify the properties of the uigetfile / uigetdir dialog box: make it bigger, hide hidden files/directories (those which start with .
in Linux) and so on. Is this possible somehow? If not, is there a convenient replacement for uigetfile / uigetdir?

답변 (1개)

Harsha Priya Daggubati
Harsha Priya Daggubati 2020년 3월 27일
I guess 'uigetfile' or 'uigetdir' cannot be customised programmatically, one possible workaround would be to customise the dialogbox by running it through commandline. Later, it will pop-up the same whenever a call to it is made again. If you want to filter the files that are displayed, you can specify the supported types at the time of creation.
Refer to the following documentation:
Hope this helps!

카테고리

Help CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by