MATLAB Answers

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

1 view (last 30 days)
Frederic Berndt
Frederic Berndt on 5 Jan 2017
Answered: Brian on 31 May 2017
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.

Answers (2)

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

Community Treasure Hunt

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

Start Hunting!

Translated by