Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

ho to Send data from uitable to workspace?

Asked by Arun Badigannavar on 28 Mar 2013

How to send data from GUI uitable to workspace

0 Comments

Arun Badigannavar

Tags

Products

No products are associated with this question.

2 Answers

Answer by Azzi Abdelmalek on 28 Mar 2013
Accepted answer

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 Comments

Azzi Abdelmalek on 28 Mar 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 on 28 Mar 2013

By keyword'who',,,its coming thnks for ypur response

Arun Badigannavar on 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?

Azzi Abdelmalek
Answer by Jing on 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 Comment

Arun Badigannavar on 28 Mar 2013

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

Jing

Contact us