Azzera filtri
Azzera filtri

Display the array/matrix in GUI

3 visualizzazioni (ultimi 30 giorni)
Son
Son il 15 Ago 2013
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 Commento
Jan
Jan il 16 Ago 2013
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')?

Accedi per commentare.

Risposte (1)

David Sanchez
David Sanchez il 16 Ago 2013
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)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by