Reading text and data from excel

2 vues (au cours des 30 derniers jours)
Austin Matuszewski
Austin Matuszewski le 21 Juin 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 commentaire
Divija Aleti
Divija Aleti le 24 Juin 2021
Hi,
Could you please attach your excel file ?

Connectez-vous pour commenter.

Réponses (1)

Divija Aleti
Divija Aleti le 24 Juin 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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by