uitable size in GUI

5 次查看(过去 30 天)
marwa marwan
marwa marwan 2017-12-19
i have a gui that contain a pushbutton and table...when click the pushbutton a metrix is saved in the table..how to make the zise of the table same as the size of the metrix? with considering the size of the metrix is changing in every execution.

回答(1 个)

Image Analyst
Image Analyst 2017-12-19
The table control does not "auto-size" to the data inside it. You have to set the size with the Position setting
handles.uitable1.Position = [x, y, width, height];

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by