GUIDE doesn't work on MATLAB 2016b but it works in 2014b

1 次查看(过去 30 天)
Hi,
the GUIDE doesn't work with my MATLAB 2016b.
I can start the GUIDE and also create a GUI with GUIDE but if I run it I get the following error message.
Undefined variable "matlab" or class "matlab.internal.editor.EODataStore.getRootField".
Error in matlab.hg.internal.openfigLegacy (line 73)
editorId = matlab.internal.editor.EODataStore.getRootField('ROOT');
Error in gui_mainfcn>local_openfig (line 286)
gui_hFigure = matlab.hg.internal.openfigLegacy(name, singleton, visible);
Error in gui_mainfcn (line 158)
gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);
I have MATLAB 2016b and MATLAB 2014b on my MAC and I get this error only if I use the 2016 version.
Any ideas?
Thanks a lot in advance.

回答(2 个)

Pablo Blinder
Pablo Blinder 2017-3-16
Same problem running on Linux.

Brian
Brian 2017-5-31
I had same problem on 2017A. I issued the command "matlabrc" at the prompt and then my GUI ran fine.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by