ho to Send data from uitable to workspace?

3 vues (au cours des 30 derniers jours)
Arun Badigannavar
Arun Badigannavar le 28 Mar 2013
Commenté : imene. B le 11 Juil 2016
How to send data from GUI uitable to workspace

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 28 Mar 2013
You can use assignin
Read your data from your table then send it to workspace
data=get(gandles.uitable1,'Data')
assignin('base','data',Data)
  4 commentaires
Arun Badigannavar
Arun Badigannavar le 28 Mar 2013
By keyword'who',,,its coming thnks for ypur response
Arun Badigannavar
Arun Badigannavar le 28 Mar 2013
How to update table data every time?I mean values for uitable wll come from workspace every one second ,,how to update it?

Connectez-vous pour commenter.

Plus de réponses (2)

Jing
Jing le 28 Mar 2013
How do you store the data in uitable? You can either save it to a mat file or make the variable global.
  1 commentaire
Arun Badigannavar
Arun Badigannavar le 28 Mar 2013
User will edit in the uitable,,,edited value should updatee in workspace

Connectez-vous pour commenter.


Suraj Srivastava
Suraj Srivastava le 18 Fév 2015
I am facing the same issue....Kindly help it out...
Any help is really appreciated.
Thank you,
  1 commentaire
imene. B
imene. B le 11 Juil 2016
if true
% code
end
data=get(handles.uitable1,'data');
assignin('base','data',data)
data = cell2mat(data)
the result in a numerical data not a cell array

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by