how to perform calculation in uitable? in row 3

2 次查看(过去 30 天)
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;

回答(0 个)

类别

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