필터 지우기
필터 지우기

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 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