ho to Send data from uitable to workspace?

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 28 de Mzo. de 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 comentarios

Arun Badigannavar
Arun Badigannavar el 28 de Mzo. de 2013
I AM trying this ,,,but data value is not storing in workspace
Azzi Abdelmalek
Azzi Abdelmalek el 28 de Mzo. de 2013
Editada: Azzi Abdelmalek el 28 de Mzo. de 2013
How did you check that the variable data is not in workspace? And please, post the part of your code you've tried
Arun Badigannavar
Arun Badigannavar el 28 de Mzo. de 2013
By keyword'who',,,its coming thnks for ypur response
Arun Badigannavar
Arun Badigannavar el 28 de Mzo. de 2013
How to update table data every time?I mean values for uitable wll come from workspace every one second ,,how to update it?

Iniciar sesión para comentar.

Más respuestas (2)

Jing
Jing el 28 de Mzo. de 2013

0 votos

How do you store the data in uitable? You can either save it to a mat file or make the variable global.

1 comentario

Arun Badigannavar
Arun Badigannavar el 28 de Mzo. de 2013
User will edit in the uitable,,,edited value should updatee in workspace

Iniciar sesión para comentar.

Suraj Srivastava
Suraj Srivastava el 18 de Feb. de 2015

0 votos

I am facing the same issue....Kindly help it out...
Any help is really appreciated.
Thank you,

1 comentario

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

Iniciar sesión para comentar.

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Mzo. de 2013

Comentada:

el 11 de Jul. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by