Unrecognized function or variable 'efmenu' error when opening a figure or app
8 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2020-11-12
回答: MathWorks Support Team
2021-2-4
When I open a figure or an app in MATLAB, I get an error saying:
Unrecognized function or variable 'efmenu'.
Error using matlab.graphics.internal.figfile.FigFile/read (line 31)
Error while evaluating Figure CreateFcn.
Error using load
Unrecognized function or variable 'efmenu'.
Error using figure
Unrecognized function or variable 'efmenu'.
Error using mextglob>Get_Def_WGlob_Struct (line 153)
Error while evaluating Figure CreateFcn.
Error using figure
Unrecognized function or variable 'efmenu'.
Error using wfigmngr>createMenus (line 956)
Error while evaluating Figure CreateFcn.
Restoring my default path and rehashing my toolbox cache doesn't appear to help.
采纳的回答
MathWorks Support Team
2020-11-12
Please run the following command in their MATLAB command window:
set(0,'DefaultFigureCreateFcn','default')
This error may indicate that you have defined a custom CreateFcn, and this CreateFcn is now incompatible or out-of-date, causing errors when it is used.
To see if MATLAB is using a custom CreateFcn, run the following command:
get(0, 'DefaultFigureCreateFcn')
If the first command does not resolve the issue, check Add-Ons Manager to see if you have "EzyFit" installed, and if so, try uninstalling it, then restarting MATLAB.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!