필터 지우기
필터 지우기

How can I hide filtered files in the uigetfile dialog on a Mac instead of graying out non-matching files?

조회 수: 3 (최근 30일)
I just started using a Mac for the first time (I'm used to PC) and when you filter filenames in the uigetfile dialogue it grays out non-matching files but does not hide them. I have folders with >500 files that I need to find 2 somewhere in the mix with different extensions. Is there a way that I could get the uigetfile to only show those files with the correct extension like it works on Windows?

답변 (1개)

Nalini Vishnoi
Nalini Vishnoi 2015년 4월 25일
Hi,
The documentation states that on some platforms uigetfile displays in gray the files that do not match the specifications.
From the documentation:
[FileName,PathName,FilterIndex] = uigetfile(FilterSpec) displays only those files with extensions that match FilterSpec. On some platforms uigetfile also displays in gray the files that do not match FilterSpec. FilterSpec can be a string or a cell array of strings, and can include the * wildcard.
  댓글 수: 1
bahoff
bahoff 2015년 5월 1일
Yes, I did read that. I would like to know if there is a way that I can have the Windows behavior on a Mac. I do not want them to be grayed out, I want them to not be shown at all.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by