simple table (uitable)

4 vues (au cours des 30 derniers jours)
Marcel Langner
Marcel Langner le 23 Nov 2018
Commenté : Walter Roberson le 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]));

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by