Handles not initialized at running GUI from GUIDE
5 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Image Analyst
2014-7-17
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!