MATLAB Answers

1

Case sensitivity of uigetfile

Asked by Omar Mian on 10 Dec 2011
Latest activity Answered by Alex
on 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');

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Alex
on 22 Nov 2013

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

  0 Comments

Sign in to comment.