Alternative to Using UITable to Display Tables in App Designer
4 views (last 30 days)
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,
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?
Eric Delgado on 20 Sep 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).