Reading text and data from excel

2 Ansichten (letzte 30 Tage)
Austin Matuszewski
Austin Matuszewski am 21 Jun. 2021
Beantwortet: Divija Aleti am 24 Jun. 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 Kommentar
Divija Aleti
Divija Aleti am 24 Jun. 2021
Hi,
Could you please attach your excel file ?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Divija Aleti
Divija Aleti am 24 Jun. 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