Try doc uitable:
simple example:
a = magic(10);
t = uitable('Data',[a(:,1) a(:,2)],'ColumnName',{'X','Y'},'RowName',{});
% You can set a whole lot of other properties to suit your needs
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!