simple table (uitable)

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