MATLAB Answers

Help with Viewing Table Contents

3 views (last 30 days)
Tiana Johnson
Tiana Johnson on 17 Jun 2020
Commented: David Hill on 17 Jun 2020
I downloaded a table but I'm unable to view it's contents. I've tried just about everything but all I'm coming up with is information about the table itself.
>> disp(FloObsWindTable)
FloObsWindTable
>> readtable('FloObsWindTable')

  2 Comments

Geoff Hayes
Geoff Hayes on 17 Jun 2020
Tiana - please show us the code that you have tried to view the table.

Sign in to comment.

Accepted Answer

David Hill
David Hill on 17 Jun 2020
Edited: David Hill on 17 Jun 2020
It is a .m file. All you have to do is:
load('FloObsWindTable');
It will be in your work space. Double click on it and navigate through the fields to see the cell arrays.

  2 Comments

Tiana Johnson
Tiana Johnson on 17 Jun 2020
When I do that, this is what I see.
David Hill
David Hill on 17 Jun 2020
Double click on each of the 61x1 cells or type:
FloObsWindTable.Location_Name
FloObsWindTable.Longitude
FloObsWindTable.Latitude
%type similar for the other table fields

Sign in to comment.

More Answers (0)

Tags