How to make table editable

6 vues (au cours des 30 derniers jours)
Arun Badigannavar
Arun Badigannavar le 28 Mar 2013
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

Réponses (1)

Matt J
Matt J le 28 Mar 2013
set(t,'ColumnEditable',true(1,3))
  3 commentaires
Arun Badigannavar
Arun Badigannavar le 28 Mar 2013
How to send that edited data back to workspace
Matt J
Matt J le 28 Mar 2013

Connectez-vous pour commenter.

Catégories

En savoir plus sur App Building dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by