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

 채택된 답변

Image Analyst
Image Analyst 2015년 9월 30일

0 개 추천

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

Image Analyst
Image Analyst 2015년 9월 30일
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 2015년 9월 30일
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 2015년 9월 30일
편집: Walter Roberson 2015년 9월 30일
There is empty place...on the right side.....What property? Any command?
Walter Roberson
Walter Roberson 2015년 9월 30일
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 2015년 9월 30일
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.
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...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File 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