Borrar filtros
Borrar filtros

Display the array/matrix in GUI

3 visualizaciones (últimos 30 días)
Son
Son el 15 de Ag. de 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 comentario
Jan
Jan el 16 de Ag. de 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')?

Iniciar sesión para comentar.

Respuestas (1)

David Sanchez
David Sanchez el 16 de Ag. de 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)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by