GUI table elements assigning
显示 更早的评论
i have a table in my GUI, and i get the elements of that table in 'd' by using
function uitable1_CellEditCallback(hObject, eventdata, handles) d = get(hObject, 'data')
now i wish to assign the values in the d (8X2 matrix) into anothr matrix k(4X2X3)
how can i use the evalin command here if it all i should
回答(1 个)
Walter Roberson
2011-6-2
d has 16 elements, but you want to assign it in to a matrix with 24 elements. Where should the elements of d be positioned in that matrix?
You could use
assignin('base','k',NewK)
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!