Q:

how to present .mat data in matlab

I imported my data from excel to matlab and saved it as 't.mat'.I used function: 
load('t.mat')
open('t.mat') 
ans =
ndata: [62x8 double]
text: {63x9 cell}
alldata: {63x9 cell}

but it did not show the data.I want to see the column 5 of the data an plot it,so i wrote : 
x=t.mat(:,5) 
plot(x)

the error was : 
??? Attempt to reference field of non-structure array.
please help me to present the data and plot it.
thanks

A:

't.mat' is just the name of the file where your data is stored. When you load a file, it loads the content into your workspace with the saved variable names, here ndata, text and alldata.
You then need to call the variables themselves to access the data:
load('t.mat')
x = ndata(:,5);
plot(x)

