matlab guide how to show table with text

조회 수: 4 (최근 30일)
polo Mahmoud
polo Mahmoud 2019년 11월 12일
댓글: polo Mahmoud 2019년 11월 13일
Hi i want to show this table like in the figure below in my matlab GUI application.

답변 (1개)

Ajay Kumar
Ajay Kumar 2019년 11월 12일
Select Table from the component section adn write the callbacks accordingly to update the table.
ex.png
  댓글 수: 1
polo Mahmoud
polo Mahmoud 2019년 11월 13일
VarNames = {'Node', 'x', 'y', 'z', 'Rx', 'Ry', 'Rz'};
T_x = table((B_x(1,1:1:end))',x_global(1:6:end,1),x_global(2:6:end,1),x_global(3:6:end,1),x_global(4:6:end,1),x_global(5:6:end,1),x_global(6:6:end,1), 'VariableNames',VarNames)
data = get(hObject, 'T_x'):
disp(sum(data))
i have written this code but it does not work, the code is in the:
function uitable1_CellEditCallback(hObject, eventdata, handles)

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

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by