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

Question about GUIDE GUI: dynamically populating uitables

Asked by Brian on 3 Aug 2012

Hello, thanks for reading this,

I have a questioin about uitables, specifically, how to dynamically populate one with values from another callback function.

I call one function to get a table of values, and I would like to put those values (a vector) into a uitable. It is a single vector of doubles. How would I go about doing this?

Thanks for your help!

0 Comments

Brian

Products

No products are associated with this question.

1 Answer

Answer by Brian on 3 Aug 2012
Accepted answer

Actually, I answered my own question with a bit of googling. I just needed the command:

    set(handles.uitable1,'Data',l);

Hope this helps anyone else having this problem.

0 Comments

Brian

Contact us