reading in excel data with a specific heading

2 views (last 30 days)
Jo ali
Jo ali on 20 Jun 2022
Commented: Jo ali on 20 Jun 2022
Hi,
I am trying to write a data processing script which is robust. I'm stuck on how to read in all columns of an excel sheet that has the heading 'Latitudes', as opposed to just coding in the columns G:G, S:S, etc manually. Any suggestions? :)
Thanks

Answers (1)

KSSV
KSSV on 20 Jun 2022
REad about readtable
  1 Comment
Jo ali
Jo ali on 20 Jun 2022
I've managed to use the readtable command to read in the excel sheet but the heading 'Latitudes' is not one of the Var names; instead, it is an entry in one of the cells.

Sign in to comment.

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!