採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 28 日

0 投票

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 件のコメント

Arun Badigannavar
Arun Badigannavar 2013 年 3 月 28 日
I AM trying this ,,,but data value is not storing in workspace
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 28 日
編集済み: Azzi Abdelmalek 2013 年 3 月 28 日
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 2013 年 3 月 28 日
By keyword'who',,,its coming thnks for ypur response
Arun Badigannavar
Arun Badigannavar 2013 年 3 月 28 日
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 日

0 投票

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

1 件のコメント

Arun Badigannavar
Arun Badigannavar 2013 年 3 月 28 日
User will edit in the uitable,,,edited value should updatee in workspace

サインインしてコメントする。

Suraj Srivastava
Suraj Srivastava 2015 年 2 月 18 日

0 投票

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

1 件のコメント

imene. B
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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で App Building についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by