simple table (uitable)

1 回表示 (過去 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 Center および File ExchangeDevelop 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