xlsread(uiimport) error at 238
7 ビュー (過去 30 日間)
古いコメントを表示
Hello all,
Long time reader, first time poster!
My problem is that when I attempt to import an xls file using S = xlsread(uiimport); I get the following message:
Warning: Synchronous evaluation of the uiimport function for spreadsheet files will be deprecated in a future release. Use the asynchronous uiimport syntax instead. > In uiimport at 238
If, however, I type S = xlsread('C:/file.xlsx'); it loads just fine. I've spent hours looking for an appropriate answer online and have come up empty handed. Any help on this would be greatly appreciated.
Thanks, Chris
1 件のコメント
Soren Preus
2013 年 9 月 12 日
It appears that what you really want to do is:
S = xlsread(uigetfile);
However, the warning you see is issued by uiimport when doing a synchronous import of spreadsheet data, i.e. one where access to the command line is blocked and the read data is returned as output. Apparently,
data = uiimport('xlsfile')
will not be allowed in future MATLAB versions, as far as I understand the warning.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!