- Create an excel file, named as 'Übersichtsliste_Test.xlsm';
- saved it on my desktop;
- excuted readtable('Übersichtsliste_Test.xlsm')
readtable does not like umlauts in file name
1 次查看(过去 30 天)
显示 更早的评论
Since R2016 I am not able to open a file with readtable when it contains a german umlaut:
ex =
MException with properties:
identifier: 'MATLAB:spreadsheet:book:fileOpen'
message: 'Unable to open file '/xxxx/Übersichtsliste_Test.xlsm' as a workbook. Check that the file exists, read access is available, and the file is a valid spreadsheet file.'
cause: {0×1 cell}
stack: [3×1 struct]
K>> ex.stack(1)
ans =
struct with fields:
file: '/xxxxx/R2018b/toolbox/matlab/iofun/readtable.m'
name: 'readtable'
line: 216
With R2015b it works.
Do I miss something?
0 个评论
回答(1 个)
Sihui Liu
2019-3-7
Hi Corinna,
I understand that you are having trouble importing a file with readtable.
However, I couldn't reproduce your issue on R2016a or R2016b from my end. Here is what I tried:
Note that readtable imported data in my file correctly.
Please make sure that the file path is correct.
6 个评论
Guillaume
2020-1-27
So it is restricted to readtable. Raising a bug report is probably the best way to get the issue resolved.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!