simple table (uitable)

조회 수: 4 (최근 30일)
Marcel Langner
Marcel Langner 2018년 11월 23일
댓글: Walter Roberson 2018년 11월 24일
Hello,
i have got a problem with a simple table.
vMMI2 and vsig are vectors (1x41)
How can i achieve, that the 2 column names are above the two . I want the table to be displayed in the command window
Failure:
There is no Daten property on the Table class.
Thanks!
This is my code:
%Ausgabe der optimierten Parameterwerte als Tabelle
data = vMMI2', vsig';
colnames = {'Michaelis-Menten mit Substratinhibierung', 'Sigomidale Kinetik'};
disp(uitable(f, 'Daten', data, 'ColumnName', colnames, 'Position', [20 20 260 100]));

채택된 답변

Walter Roberson
Walter Roberson 2018년 11월 23일
uitable is only for graphic use . you should use
table(vMMI2.', vsig.', 'VariableNames', colnames)
  댓글 수: 2
Marcel Langner
Marcel Langner 2018년 11월 23일
Hey thanks,
but I get still an error:
Error using table (line 261)
Invalid parameter name: MichaelisMentenKinetik.
Any idea?
%Ausgabe der optimierten Parameterwerte als Tabelle
colnames = {'Michaelis-Menten mit Substratinhibierung', 'Sigomidale Kinetik'};
table(vMMI2', vsig', 'MichaelisMentenKinetik', colnames);
Walter Roberson
Walter Roberson 2018년 11월 24일
I do not know what role your 'MichaelisMentenKinetik' is intended to play. It was not mentioned in your question. You still appear to have only two columns, so we can figure that your intention is not to add a third column whose every entry is the character vector 'MichaelisMentenKinetik' ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by