Problem using GUIDE
Mostrar comentarios más antiguos
Hello. i am a new user of matlab and i am trying to use the GUIDE to create an interface to an existing program.
the program works perfectly on its own but when i try to use the interface to get the variables i run into
??? Undefined function or variable "EQ_PROT".
any help will be appreciated. Any more info you need i will try to answer asap
Thank you very much
Respuesta aceptada
Más respuestas (6)
Dopgp
el 28 de Mayo de 2012
0 votos
Dopgp
el 28 de Mayo de 2012
1 comentario
Walter Roberson
el 28 de Mayo de 2012
I do not see any reference to EQ_PROT in that code, and you do not appear to have any "if" in that code. It is not clear which problem you are reporting against which line.
Are you trying to use handles.metricdata.fontealt in your main routine after the callback has set it? If so then have you used handles = guidata(gcf) to update the main routine's idea of what "handles" looks like?
Dopgp
el 28 de Mayo de 2012
1 comentario
Walter Roberson
el 28 de Mayo de 2012
We will need the code in context, including the routine that defines EQ_PROT and including the routine that has problems accessing it.
Dopgp
el 29 de Mayo de 2012
0 votos
1 comentario
Walter Roberson
el 29 de Mayo de 2012
When you send someone files in email, you should send a message saying what the files are about. The message showed up in my Junk folder with no explanation; I came close to deleting it.
I am not likely to have time to open a .fig file in the next month and a half (I do not have access to MATLAB at home.) You are likely to get a much faster response if you post the relevant code here.
Dopgp
el 29 de Mayo de 2012
0 votos
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!