Handles not initialized at running GUI from GUIDE
Mostra commenti meno recenti
Hello everyone, I'm facing a problem using GUIDE, I have developed a GUI that analyses an image and output the result trought a static text button, but suddenly this starting launch the error "reference to non existing field" for the tag corresponding to static text. I think this was related to static text so I change to edit text but nothing change. Tracing the code I see that handles output [], when the code is executed directly from the guide, but works fine when executed from the editor, using the corresponding .m file, I think this error can be related to the gui pointing to an incorrect location, I have several copies of the gui, because I'm developing various versions, here are my questions: *How can force the gui to point exactly what *.m file is executing? *Can the problem have another cause?.
Version: r2012a
Risposte (1)
Image Analyst
il 17 Lug 2014
0 voti
What is a "static text button"? Whatever it is, a static text label or a button, you don't have anything with that tag name on your GUI. If everything is in the same folder, and that folder is the "current folder", it will run those before (instead of) it runs any that "shadows" it in different folders on the search path. Check your spelling and case - MATLAB is case sensitive.
Categorie
Scopri di più su Environment and Settings in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!