How to get a matrix from uitable
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Mark Whirdy
am 13 Mai 2013
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 Kommentare
Walter Roberson
am 14 Mai 2013
mydata = cell2mat(myCellArray);
Then check to see if it is square or not. If it is not, what do you want to do?
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!