how do I display an array in a GUI table

In my script, I have a function that returns me a plot of an array of values.
I want to display this array in a table component of my GUI
What do i have to do?

 Accepted Answer

Sebastian - use a uitable to display your array of data. The examples in this link should provide you with a way forward.

2 Comments

Thank you,
At least i can display my array in a figure.
Either way, i still can't figure out how to display my array inside my guide along with my axes. The thing is i have three prompts in my script, all three of them return me a graph witch I already manage to display in an axe on my GUI, but only one of them returns me an array. When I select this prompt i can not manage to display this array in my uitable inside my GUI.
I can't find an example on matlab help that suits my needs.
Sebastian - please clarify what you mean by when I select this prompt. What is a prompt to you?

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!