GUI rename handle problem

조회 수: 1 (최근 30일)
Ben
Ben 2013년 5월 21일
Hi, I have a problem with a gui i have renamed (yes I now know I should have saveas). I've renamed all of the callbacks and any references i could find to the old name in both the .m and .fig files.
Now it works fine if I run the .m file, but fails if I run the .fig file with this error: "Attempt to reference field of non-structure array."
I guess there is a reference somewhere to the old name, how do I find and fix it?
Thanks.

채택된 답변

Walter Roberson
Walter Roberson 2013년 5월 21일
You do not run .fig files: you run the .m file. You will get that error if you attempt to run a .fig file.

추가 답변 (1개)

Ben
Ben 2013년 5월 21일
Ok, thanks Walter

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by