Borrar filtros
Borrar filtros

How to add new buttons and call backs to a gui

2 visualizaciones (últimos 30 días)
Curious Mind
Curious Mind el 21 de Sept. de 2017
Comentada: Adam el 21 de Sept. de 2017
Hi all: I have a matlab GUI for performing Principal Component Analysis (PCA). Sometimes it is necessary to remove an outlier from the dataset. The GUI was originally designed such that when you insert the outliers IDs, (eg 45), it will delete that sample 45, however, if sample 45 does not exist, there will be a prompt saying 'sample 45 does not exist'. I want to modify this GUI such that when the GUI identifies that sample 45 does not exist in the original data file, there will be a button telling me 'delete?' How do I go about adding the delete button and its callback to the existing matlab code (GUI). Any code ideas?
Thank you. Sorry for the long explanation
  1 comentario
Adam
Adam el 21 de Sept. de 2017
doc uicontrol
Just give it a parent, a position and a callback.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by