フィルターのクリア

Display the array/matrix in GUI

3 ビュー (過去 30 日間)
Son
Son 2013 年 8 月 15 日
Hi everyone,
I have a GUI and now I want to display my analysis result which is an array by clicking a button in GUI. What should I do inside the callback function of this button. Does anyone have an idea how to do that ?.
  1 件のコメント
Jan
Jan 2013 年 8 月 16 日
You will have to be way more specific than this to recieve a reasonable answer to your question. What kind of data is the result of your analysis (i.e. vector, matrix, cell array ... ) and how do you want to display it (i.e. do you want to plot it, export it to the file system or present it on the GUI in a uitable? - I'm guessing the latter, as you tagged your question with 'table')?

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

回答 (1 件)

David Sanchez
David Sanchez 2013 年 8 月 16 日
In the callback function, you do the same that you would do in the command line in order to present your data, taking from granted that you placed an axis object in your GUI.
If you want to plot data, place in the following in your callback function:
plot(your_x_data, your_y_data)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by