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 CenterFile Exchange에서 Develop 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