- By the user directly typing into the cells of the table, or
- By programmatically sending some data to the table?
does anyone know how we enter data manually into "uitable"?
조회 수: 4 (최근 30일)
이전 댓글 표시
댓글 수: 0
채택된 답변
Image Analyst
2019년 12월 29일
What do you mean by manually?
If (1), just run the app by clicking on the green run triangle and have the user click inside a cell and start typing.
if (2), just do this
handles.uitable1.Data = yourMatrix; % Or your cell array.
댓글 수: 0
추가 답변 (1개)
Ajay Kumar
2019년 12월 29일
One option could be writing callback to button(Enter data) wherein we use inputdlg to get the user inputs for all values and assigning it to uitable there itself.
doc inputdlg
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!