uitable size in GUI

7 views (last 30 days)
marwa marwan
marwa marwan on 19 Dec 2017
Answered: Image Analyst on 19 Dec 2017
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.

Answers (1)

Image Analyst
Image Analyst on 19 Dec 2017
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];

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!