Why does "readtable" fail to read a file from OneDrive?
Afficher commentaires plus anciens
I am using OneDrive for storing my Microsoft Excel spreadsheets. I noticed one issue when trying to read data from it:
- When my spreadsheet is not open by any application, then MATLAB successfully loads the data from the spreadsheet.
- When my spreadsheet is open in Microsoft Excel, then MATLAB fails to read data from it using "readtable". The error message is below.
>> readtable('mydata.xlsx', 'UseExcel', true)
Unable to open file 'C:\Users\<user>\OneDrive ....' as a workbook. Check that the file exists, read access is available, and the file is a valid spreadsheet file.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!