Help with Viewing Table Contents

2 visualizzazioni (ultimi 30 giorni)
Tiana Johnson
Tiana Johnson il 17 Giu 2020
Commentato: David Hill il 17 Giu 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 Commenti
Geoff Hayes
Geoff Hayes il 17 Giu 2020
Tiana - please show us the code that you have tried to view the table.
Tiana Johnson
Tiana Johnson il 17 Giu 2020
It's been updated.

Accedi per commentare.

Risposta accettata

David Hill
David Hill il 17 Giu 2020
Modificato: David Hill il 17 Giu 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 Commenti
Tiana Johnson
Tiana Johnson il 17 Giu 2020
When I do that, this is what I see.
David Hill
David Hill il 17 Giu 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Tables in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by