Problem using GUIDE
Show older comments
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
Accepted Answer
More Answers (6)
Dopgp
on 28 May 2012
0 votes
Dopgp
on 28 May 2012
1 Comment
Walter Roberson
on 28 May 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
on 28 May 2012
1 Comment
Walter Roberson
on 28 May 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
on 29 May 2012
0 votes
1 Comment
Walter Roberson
on 29 May 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
on 29 May 2012
0 votes
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!