readtable does not like umlauts in file name
Mostrar comentarios más antiguos
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?
Respuestas (1)
Sihui Liu
el 7 de Mzo. de 2019
0 votos
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 comentarios
Corinna von Montigny
el 8 de Mzo. de 2019
Corinna von Montigny
el 27 de En. de 2020
Guillaume
el 27 de En. de 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
el 27 de En. de 2020
Guillaume
el 27 de En. de 2020
So it is restricted to readtable. Raising a bug report is probably the best way to get the issue resolved.
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!