Clear Filters
Clear Filters

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

2 views (last 30 days)
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.

Answers (2)

Pablo Blinder
Pablo Blinder on 16 Mar 2017
Same problem running on Linux.

Brian
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.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!