A table object can't be put in a figure and, AFAIK, it's not possible to redirect command window output to a figure other than by preparing an image independently of the content desired.
But, you can put the uitable on subplot; you used wrong coordinate system -- I reoriented it to a 2x1 format instead of 1x2, but if your data fit more better the other way, you can easily revert.
hAx=subplot(2,1,1);
hUI=uitable('Data',T{:,:},'ColumnName',T.Properties.VariableNames,...
'RowName',T.Properties.RowNames,'Units', 'Normalized', 'Position',hAx.Position);
delete(hAx)
hAx=subplot(2,1,2);
plot(x,y)
results in
Your table doesn't have enough data to take up the whole area of the axes, but you can see the outline of the area the top axes laid out.
I didn't try with nexttile; I presume same thing will happen.
Best Answer