필터 지우기
필터 지우기

Using MatLab 2022b, I am .txt files are grayed out when I use 'uigetfile' function on the newest Mac operation system 'Monterey' V 12.6.1

조회 수: 12 (최근 30일)
I am running MatLab R2022b on a Macbook Pro running the OS Monterey V12.6.1
when I evalulate:
[fileName,pathName] = uigetfile({'*.txt.gz';'*.txt';'*.*'}, 'Select input file');
The popup window opens to select a file, I click on Options and Enable 'All files' or .txt files it doesn't 'ungray'/enable anything obvious (there are .txt files in many directories...).
I've checked the MathWorks support sight and this problem has been reported previously as early as R2019
Please help!
  댓글 수: 1
cr
cr 2022년 12월 5일
Interesting. I see that it is specific to osx only as I don't see it in R2019a on win7, but very much there on BigSur. Putting multiple filter spec inside flower braces seems to make it dysfunctional.

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

답변 (1개)

Daniel Dolan
Daniel Dolan 2023년 5월 26일
I don't have a complete solution, but it seems that putting *.* up front helps.
[fileName,pathName] = uigetfile({'*.*';'*.txt.gz';'*.txt';}, 'Select input file');

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by