ho to Send data from uitable to workspace?
1 次查看(过去 30 天)
显示 更早的评论
How to send data from GUI uitable to workspace
0 个评论
采纳的回答
Azzi Abdelmalek
2013-3-28
You can use assignin
Read your data from your table then send it to workspace
data=get(gandles.uitable1,'Data')
assignin('base','data',Data)
更多回答(2 个)
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.
Suraj Srivastava
2015-2-18
I am facing the same issue....Kindly help it out...
Any help is really appreciated.
Thank you,
1 个评论
imene. B
2016-7-11
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!