Reading text and data from excel

2 visualizaciones (últimos 30 días)
Austin Matuszewski
Austin Matuszewski el 21 de Jun. de 2021
Respondida: Divija Aleti el 24 de Jun. de 2021
I am trying to read in an excel file that has both text and numbers into matlab. Using xls read it does not give me all the text but some... Some of its shows up as Nan or Var1 Var2 ect... and same thing with readtable...
  1 comentario
Divija Aleti
Divija Aleti el 24 de Jun. de 2021
Hi,
Could you please attach your excel file ?

Iniciar sesión para comentar.

Respuestas (1)

Divija Aleti
Divija Aleti el 24 de Jun. de 2021
Hi Austin,
You can try using the following tool:
This can produce outputs as tables rather than a rigid numeric / string matrix. So, it can handle different data types with ease.
Hope this helps!
Regards,
Divija

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by