How to get a matrix from uitable

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.

답변 (1개)

Mark Whirdy
Mark Whirdy 2013년 5월 13일

0 개 추천

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

zahraa alsheala
zahraa alsheala 2013년 5월 14일
We have tried this code and its work , but we want the table to be a squared ( ex: 2*2, 3*3 ). We want this because we implement Hill algorithm which only accept squared table . We try to do that but the table dose not accept that ????
mydata = cell2mat(myCellArray);
Then check to see if it is square or not. If it is not, what do you want to do?

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

카테고리

도움말 센터 및 File Exchange에서 Genomics and Next Generation Sequencing에 대해 자세히 알아보기

질문:

2013년 5월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by