Borrar filtros
Borrar filtros

Case sensitivity of uigetfile

2 visualizaciones (últimos 30 días)
Omar Mian
Omar Mian el 10 de Dic. de 2011
Respondida: Alex el 22 de Nov. de 2013
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');

Respuestas (1)

Alex
Alex el 22 de Nov. de 2013
I am looking for the same thing! Having two separate options for capital and lower case is very annoying.

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by