Effacer les filtres
Effacer les filtres

Case sensitivity of uigetfile

2 vues (au cours des 30 derniers jours)
Omar Mian
Omar Mian le 10 Déc 2011
Réponse apportée : Alex le 22 Nov 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');

Réponses (1)

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

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by