simple table (uitable)

1 view (last 30 days)
Marcel Langner
Marcel Langner on 23 Nov 2018
Commented: Walter Roberson on 24 Nov 2018
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]));

Accepted Answer

Walter Roberson
Walter Roberson on 23 Nov 2018
uitable is only for graphic use . you should use
table(vMMI2.', vsig.', 'VariableNames', colnames)
  2 Comments
Marcel Langner
Marcel Langner on 23 Nov 2018
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 on 24 Nov 2018
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' ?

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!