Display a string text in Matlab app.designer
조회 수: 12 (최근 30일)
이전 댓글 표시
Hi
I am decoding some timetables with matlab vehicle network toolbox. The avaliable columns do often change in different logs.
In matlab live script i can simply show all avaliable colums names as:
rawTimeTable1 = "data"
msgTimetableJ1939 = j1939ParameterGroupTimetable(rawTimeTable1, canDB)
PGN = unique(msgTimetableJ1939.Name,"sorted")
answer:
PGN = 52x1 categorical
1 ACKM
2 AIR1
3 AMB
5 AT1OG2
...
Live script will show all unique columns names in log.
How do i - in Matlab app.designer - open up a windows showing a list with all these values?
I can simply "plot(PGN)" but that does not make a real list
Thanks!
댓글 수: 2
Rik
2022년 3월 29일
What exactly do you want to show?
There is a way to capture the output of what disp would show.
Walter Roberson
2022년 3월 29일
https://www.mathworks.com/help/matlab/ref/uitextarea.html and set the content to string(PGN) ?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!