readtable does not like umlauts in file name

4 visualizaciones (últimos 30 días)
Corinna von Montigny
Corinna von Montigny el 13 de Feb. de 2019
Comentada: Guillaume el 27 de En. de 2020
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
Sihui Liu el 7 de Mzo. de 2019
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
Corinna von Montigny el 27 de En. de 2020
The path to the file is correct. As I can read the file without problems with 'xlsread'.
>> fopen('Übersicht.xlsm')
ans =
3
I just opened a bug report w/r to this. Sorry, I do not remember the ticket number.
Guillaume
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by