Alternative to Using UITable to Display Tables in App Designer
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I'm trying to make a button in app designer display a relatively large table. I tried using UITable at first, but scrolling in any direction causes the table to lag pretty badly. I tried instead to have the table displayed in the workspace variables window using,
openvar('dataTable');
which sort of works, but when the table is updated there's no changes made in the variables window. I believe the problem is that the workspace needs to be refreshed by right clicking the workspace and selecting "refresh" for any changes to display. Is there a command for refreshing the workspace like this?
Are there also any better alternatives for displaying larger tables using app designer other than UITable?
Thanks
0 comentarios
Respuestas (1)
Eric Delgado
el 20 de Sept. de 2022
You must use uitable instead of openvar in this "App Designer world". In this world, openvar is going to be useful in debug mode only. If you are packing your app as standalone apps, for example, openvar will not work.
But... if you wanna work only in Matlab IDE, you can call assignin on every change of your data, sending to workspace base your table (and it will update your data automatically in openvar view).
0 comentarios
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!