MATLAB: Problems running .fig file

guiguide

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

Best Answer

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.
Related Question