GUI error: 'Undefined function 'xxx' for input type 'struct'

1 visualización (últimos 30 días)
Paul
Paul el 25 de Mzo. de 2014
Respondida: Walter Roberson el 25 de Mzo. de 2014
Hi all, I recently started coming across the above error when running my GUI. the 'xxx' is the name of an old .m-file linked to the GUI, but I have since renamed and resaved the GUI properly and removed all occurrences of 'xxx' in any related m-files.
Since the error doesn't indicate where the reference to the old .m-file is made or at what point it poses a problem, I'm having trouble solving the issue. What is striking is that this has only started happening today, even though I've been using that same GUI daily for the past three months without any problems. The GUI still works fine, but it would be nice to stop MATLAB throwing these errors in my face everytime I click a button.
Any help would be greatly appreciated. I'm especially wondering where it could actually be referencing the old 'xxx' and where I would be able to change this manually.
Thanks.

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Mzo. de 2014
for h = findall(0, '-regexp','Callback','xxx')
disp(get(h, 'Tag'))
end
should display the tags of all objects that include "xxx" in the callback string.

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by