フィルターのクリア

how to perform calculation in uitable? in row 3

2 ビュー (過去 30 日間)
anush
anush 2017 年 5 月 17 日
編集済み: anush 2017 年 5 月 17 日
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 Center および File ExchangeApp Building についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by