Case sensitivity of uigetfile

1 回表示 (過去 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 Center および File ExchangeData Import and Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by