Effacer les filtres
Effacer les filtres

how to perform calculation in uitable? in row 3

2 vues (au cours des 30 derniers jours)
anush
anush le 17 Mai 2017
Modifié(e) : anush le 17 Mai 2017
Hello, How to perform the calculation in the generated uitable ? i need row 3(please see the figure) to be (a/row1) 'a' is some random value please find the code. Thank you!!!
f = figure;
data = xlsread('abc','Data','C7:C23');
t = uitable(f);
display(data);
t.Data = data;
t.Position = [350 200 600 300];
t.ColumnName = {'Generator','Rotor','speed','frequency',[]};
t.RowName = {'Min operation','Generator sync','Rated 3600kW','Overspeed NC2/Converter', 'Cut_out Safety','Mode 1 3500kW','Mode 2 3400kW','Mode 3 3300kW','Mode 4 3280kW','Mode 5 2920kW','Mode 6 2860kW','Mode 7 2800kW','Mode 8 2730kW','Mode 9 2670kW','Mode 10 2610kW','Mode 11 2530kW','Mode 12 2480kW'};
% t.ColumnWidth = {'auto' 'auto' 'auto' 'auto'};
t.ColumnEditable = [true false false false false];
t.RowEditable = false;

Réponses (0)

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