Case sensitivity of uigetfile

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');

Antworten (1)

Alex
Alex am 22 Nov. 2013

0 Stimmen

I am looking for the same thing! Having two separate options for capital and lower case is very annoying.

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 10 Dez. 2011

Beantwortet:

am 22 Nov. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by