Hello,
can you advise me how can I load data into gui into spreadsheet format?
Thank you for your answer.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 30 Sep. 2015

0 Stimmen

You can use guide and put a grid ((uitable) onto the figure. Then use set() to send your data to it:
set(handles.uitable1, 'data', yourData);

6 Kommentare

Image Analyst
Image Analyst am 30 Sep. 2015
Radoslav's "Answer" move to a comment here:
And how can I customize size of table to numbers of columns when I will always load different numbers of columns?
Image Analyst
Image Analyst am 30 Sep. 2015
I believe the size of the table adjusts to the data you pass it. If not, there's a property you can set that will change the number of rows and columns.
Radoslav Vandzura
Radoslav Vandzura am 30 Sep. 2015
Bearbeitet: Walter Roberson am 30 Sep. 2015
There is empty place...on the right side.....What property? Any command?
Walter Roberson
Walter Roberson am 30 Sep. 2015
You can set the ColumnWidth property
Note: there is no direct method of automatically resizing the column widths when the size of the control is changed. Within the last couple of days someone posted a link to some information from Yair on how to do this by calling Java.
Image Analyst
Image Analyst am 30 Sep. 2015
You can width the columns with the column width property. You can bring in the right side of the table control using the 'Position' property to set the size.
Radoslav Vandzura
Radoslav Vandzura am 3 Okt. 2015
Could you advise me with my problem with loading string data.....when I want to load string data into uitable....in these cells are value 'NaN'. How can I resolve it?:) Thank you very much for your answer...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by