How to make table editable

조회 수: 4 (최근 30일)
Arun Badigannavar
Arun Badigannavar 2013년 3월 28일
f = figure('Position',[200 200 400 150]);
dat = rand(3);
cnames = {'X-Data','Y-Data','Z-Data'};
rnames = {'First','Second','Third'};
t = uitable('Parent',f,'Data',dat,'ColumnName',cnames,...
'RowName',rnames,'Position',[20 20 360 100]);
How to make this table editable

답변 (1개)

Matt J
Matt J 2013년 3월 28일
set(t,'ColumnEditable',true(1,3))
  댓글 수: 3
Arun Badigannavar
Arun Badigannavar 2013년 3월 28일
How to send that edited data back to workspace
Matt J
Matt J 2013년 3월 28일

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

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by