Error using readtable (line 245)
显示 更早的评论
following error message when importing data from libre office using following code.
T = readtable ('trial_data.xlsx' , 'range' , 'A2:B18');
Error using readtable (line 245)
Unable to open file 'C:\Users\Owner\Documents\MATLAB\trial_data.xlsx' as a workbook.
Check that the file exists, read access is available, and the file is a valid
spreadsheet file.
Error in Project_example_data_script (line 1)
T = readtable ('trial_data.xlsx' , 'range' , 'A2:B18');
NOTE: i have imported from libre office using .xlsx files successfully before with exactly this syntax and have ensured file is accessible and in correct location
3 个评论
Walter Roberson
2020-12-10
Would it be possible for you to attach the file for us to examine?
Idris Phillips-Fry
2020-12-10
Walter Roberson
2020-12-10
Darn, I forgot that I don't have Excel installed on this boot partition, and my Excel is too old to install in my new OS version.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!