xlsread(uiimport) error at 238
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Soren Preus
il 12 Set 2013
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.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Data Import and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!