Reading Excel files on a server without Excel installed.

8 visualizaciones (últimos 30 días)
Julien Damond
Julien Damond el 8 de Ag. de 2019
Respondida: Julien Damond el 20 de Ag. de 2019
Hello,
I'm currently using Matlab on a new server on which no Excel is installed. I need to be able to read Excel files. Unfortunately, the basic read mode from Matlab is not sufficent for some xlsx files. How can I still read these files ?
I'm using Matlab 2015a on Windows Server 2012.
Thank you for your help.
  1 comentario
Abhilash Padma
Abhilash Padma el 13 de Ag. de 2019
It is possible to read excel files without Excel installed. You can use xlsread and readtable methods in basic mode to achieve this.But, you are mentioning that basic read mode from Matlab is not sufficent for some xlsx files. What do you mean by 'not sufficient'? Are you getting any error if you use these methods?

Iniciar sesión para comentar.

Respuestas (1)

Julien Damond
Julien Damond el 20 de Ag. de 2019
Hello Abhilash,
Thank you for your response. The problem I have is when writing a formatted Excel Sheet with xlsread without Excel installed. For example, one of the problems I have encountered is an error being thrown by the function biffparse:
[num, txt, raw] = xlsread( fileName );
which gives me the error
Error using xlsread (line 247)
File could not be read by biffparse. Invalid record ID.
I've found in another post that reading files with xlsRead without Excell installed has also some limitations
Finally, I write a Java code using the POI library from Apache that I compiled as jar and directly use in Matlab to read Excel files without Excel installed.
Best regards,

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by