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?

 採用された回答

Geoff Hayes
Geoff Hayes 2016 年 3 月 25 日

1 投票

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

2 件のコメント

Sebastian Bros
Sebastian Bros 2016 年 3 月 27 日
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.
Geoff Hayes
Geoff Hayes 2016 年 3 月 28 日
Sebastian - please clarify what you mean by when I select this prompt. What is a prompt to you?

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by