GUI error: Undefined function 'A_GUI' for input arguments of type 'char'.
2 ビュー (過去 30 日間)
古いコメントを表示
Ok, I know this might not have been the best thing to do, but I created a GUI (say A_GUI) and accompanying m functions to do some analysis. I now copied everything into a new folder with the aim of altering the code and GUI for doing another type of analysis. So I changed the name A_GUI with, say, B_GUI everywhere in the GUI objects (Callback and CreateFcn handles) and the code itself. I still get this error for all the objects. How to solve this? Is it better to start from scratch again?
Undefined function 'A_GUI' for input arguments of type 'char'.
Error in
@(hObject,eventdata)A_GUI('text_number_CreateFcn',hObject,eventdata,guidata(hObject))
Error using struct2handle
Error while evaluating uicontrol CreateFcn
0 件のコメント
採用された回答
Walter Roberson
2015 年 5 月 10 日
It is possible to repair it, with some work, but the easier approach is to go back to your A_GUI and tell GUIDE to save it under a new name.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!