Set a table to print values in the app designer user interface.

조회 수: 5 (최근 30일)
THULYO NEDER
THULYO NEDER 2020년 10월 28일
댓글: Rik 2020년 12월 26일
Hey
I want to print and display some results in a table in the app designer user interface instead to print and display in the 'Command Window'.
These results are generated inside a loop "for" command and can vary, that is, there is no specific number for the lines of this table. But, the number of columns will be the same.
I would to have a table in the app designer user interface, where the lines for this table can also be generated inside this '' for '' loop command.
I tried to combine this UI.table inside the '' for '' command, but it does not work.
My MATLAB version is R2018b.
Any sugestions?
If you need any other clarifications, let me know.
Thanks.
  댓글 수: 1
Rik
Rik 2020년 12월 26일
As Mario Malic mentioned in his flag: you should not edit away your questions, it is considered rude to do so, negating the work of the person who helped you and usefulness to people who might have similar issues.
I have restored the edit from Google cache.

댓글을 달려면 로그인하십시오.

채택된 답변

Mario Malic
Mario Malic 2020년 10월 28일
If you are interested only in the end result, after loop block you can make a table from your data and just write
app.UITable.Data = T
where UITable is handle to your app component and T is the table for your data. I believe this works as well with other data types, but table would be the best one.
  댓글 수: 1
Mario Malic
Mario Malic 2020년 10월 29일
T does not have to be necessary the table, your data can be number array, cell array, etc.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by