How to print values on different row in App designer Table

4 Ansichten (letzte 30 Tage)
Med Future
Med Future am 17 Dez. 2022
Beantwortet: Voss am 17 Dez. 2022
Hello, I want to print the data on each row in appdesigner Table
predicted = 9511
pred1='Maximum Value' (char)
pred2='Minimum Value' (char)
When i used the following commands its overwrite the data
app.UITable.Data=[predicted pred1 ];
app.UITable.Data=[predicted pred2 ];
How to apply loop on this UITable so each Data save in next row
Please help me in this

Akzeptierte Antwort

Voss
Voss am 17 Dez. 2022
Try it like this:
% add a row to app.UITable.Data:
app.UITable.Data = [app.UITable.Data; {predicted pred1}];
% add another row to app.UITable.Data:
app.UITable.Data = [app.UITable.Data; {predicted pred2}];

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by