How can I close exponential view in uitable and increase the rows width?

1 次查看(过去 30 天)
num1=[1;2;3] %points id
num2=[4298567.322;4275666.985;4635714.325] %coordinates
num3=[525647.555;522312.965;511325.542] %coordinates
num=[num1 num2 num3] %points id, coordinates
num=num2cell(num)
set(handles.uitable1, 'Data', num)
%coordinates looks exponential in uitable's row. How can I close this looking and increase the width of each row?

采纳的回答

Walter Roberson
Walter Roberson 2013-11-11
Set the ColumnFormat property to 'f' (fixed); see http://www.mathworks.com/help/matlab/ref/uitableproperties.html#brglhyc
You can also set the ColumnWidth property.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by