Display a string text in Matlab app.designer
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Rik
el 29 de Mzo. de 2022
What exactly do you want to show?
There is a way to capture the output of what disp would show.
Walter Roberson
el 29 de Mzo. de 2022
https://www.mathworks.com/help/matlab/ref/uitextarea.html and set the content to string(PGN) ?
Respuestas (0)
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!