readtable does not like umlauts in file name
Show older comments
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?
Answers (1)
Sihui Liu
on 7 Mar 2019
0 votes
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:
- Create an excel file, named as 'Übersichtsliste_Test.xlsm';
- saved it on my desktop;
- excuted readtable('Übersichtsliste_Test.xlsm')
Note that readtable imported data in my file correctly.
Please make sure that the file path is correct.
6 Comments
Corinna von Montigny
on 8 Mar 2019
Corinna von Montigny
on 27 Jan 2020
Guillaume
on 27 Jan 2020
Can you fopen the file in matlab? It won't help at all with the actual import but it would tell us if the problem is specific to readtable or more with general IO in matlab.
Corinna von Montigny
on 27 Jan 2020
Guillaume
on 27 Jan 2020
So it is restricted to readtable. Raising a bug report is probably the best way to get the issue resolved.
Categories
Find more on R Language in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!