How to get a matrix from uitable
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, We have tried to get a value from uitable in a matrix that the user will insert. Every time we try it the GUI dose not read the value from table.
댓글 수: 0
답변 (1개)
Mark Whirdy
2013년 5월 13일
So the line below does not work (replacing "uitMyTableName" with whatever your table is called)?
myCellArray = get(handles.uitMyTableName,'Data');
Can you break the code at this line and tell me what exactly happens?
댓글 수: 2
Walter Roberson
2013년 5월 14일
mydata = cell2mat(myCellArray);
Then check to see if it is square or not. If it is not, what do you want to do?
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!