How to print values on different row in App designer Table

1 回表示 (過去 30 日間)
Med Future
Med Future 2022 年 12 月 17 日
回答済み: Voss 2022 年 12 月 17 日
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

採用された回答

Voss
Voss 2022 年 12 月 17 日
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}];

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by