Display a string text in Matlab app.designer
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Rik
am 29 Mär. 2022
What exactly do you want to show?
There is a way to capture the output of what disp would show.
Walter Roberson
am 29 Mär. 2022
https://www.mathworks.com/help/matlab/ref/uitextarea.html and set the content to string(PGN) ?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!