필터 지우기
필터 지우기

Case sensitivity of uigetfile

조회 수: 2 (최근 30일)
Omar Mian
Omar Mian 2011년 12월 10일
답변: Alex 2013년 11월 22일
Is it possible to make the FilterSpec in the uigetfile function case insensitive?
If I want to be able to select either *.xls or *.XLS files, currently I have to specify both the capitilised and the non-captialised verison.
e.g.
[filename, pathname] = uigetfile({'*.xls;*.XLS','Excel files (*.xls)';...
'*.*', 'All Files(*.*)'}, ...
'Pick a file');

답변 (1개)

Alex
Alex 2013년 11월 22일
I am looking for the same thing! Having two separate options for capital and lower case is very annoying.

카테고리

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