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

1 visualización (últimos 30 días)
V Manohar
V Manohar el 25 de Feb. de 2020
Comentada: V Manohar el 27 de Feb. de 2020
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 comentarios
Rik
Rik el 25 de Feb. de 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 el 27 de Feb. de 2020
Dear Adam,
i want to access data like this in the pushbutton callback.i was not able to do that
data=readtable(tablename)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by