Display a string text in Matlab app.designer
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Rik
il 29 Mar 2022
What exactly do you want to show?
There is a way to capture the output of what disp would show.
Walter Roberson
il 29 Mar 2022
https://www.mathworks.com/help/matlab/ref/uitextarea.html and set the content to string(PGN) ?
Risposte (0)
Vedere anche
Categorie
Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!