How to modify Table in GUI when it is changed in workspace

1 view (last 30 days)
i have loaded a table using GUIDE,when i change the table in workspace,the table shown in GUI is not changing.i tried using a push button ,but it is throwing an error called
Error while evaluating uicontrol Callback.Can anyone help me through this.
  3 Comments
Rik
Rik on 25 Feb 2020
In addition to what Adam wrote, this sounds like you want to have a table in your base workspace and want the table your GUI to change whenever you edit the version in the base workspace.
I would strongly discourage such a setup. If you insist, it is probably easier to have the table available as a class property.
V Manohar
V Manohar on 27 Feb 2020
Dear Adam,
i want to access data like this in the pushbutton callback.i was not able to do that
data=readtable(tablename)

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!