ho to Send data from uitable to workspace?

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(2 个)

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

1 个评论

User will edit in the uitable,,,edited value should updatee in workspace

请先登录,再进行评论。

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

1 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by