problems running .fig file
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I recently made a gui for manually scanning images and annotating them. It was running Ok (i.e from guide or openfig). I had done some initializations in the opening_fcn. But for some reason now when a try to open it, the initialization do not occur (i put in test strings in it) and the gui is giving me error because of undefined variables. I tried running on another machine, the same problem. If I run in debug mode then it goes through the opening_fcn and displays the string. I don't understand whats going on ??
please help
rishabh
2 件のコメント
Paulo Silva
2011 年 3 月 1 日
just a wild guess http://www.mathworks.com/matlabcentral/newsreader/view_thread/301344
採用された回答
Walter Roberson
2011 年 3 月 1 日
Paulo's guess about you having renamed something is reasonable. I would, however, first suspect something more simple.
You cannot run a .fig file by opening it or using openfig. You must run the gui program by name; it will open the .fig file.
0 件のコメント
その他の回答 (3 件)
Walter Roberson
2011 年 3 月 1 日
Sorry, I have no idea why the callbacks are not being added, unless you have renamed your gui.
With respect to having added your own routine: notice that you defined a routine with a capital-C in "Callback", but it is looking for a routine with a lower-case-c "callback"
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!