Unrecognized function or variable 'efmenu' error when opening a figure or app
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 12 Nov 2020
Risposto: MathWorks Support Team
il 4 Feb 2021
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.
Risposta accettata
MathWorks Support Team
il 12 Nov 2020
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!