MATLAB: Command “Guide” does not work anymore.

guidev9.1(r2018a)

I used Matlab R2018a, constructing a GUI. I used the command "Guide" to open the GUI but it does not work anymore. I got the following issue:
>> guide java.lang.ClassCastException: [D cannot be cast to [Ljava.lang.String; at com.mathworks.toolbox.matlab.guide.LayoutEditor.completed(LayoutEditor.java:2224) at com.mathworks.toolbox.matlab.guide.LayoutEditor$ReadFigureCompleted.completed(LayoutEditor.java:3069) at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.runOnMatlabThread(LayoutWorker.java:55) at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79) at com.mathworks.jmi.MatlabWorker.start(MatlabWorker.java:248) at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.start(LayoutWorker.java:70) at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.fevalConsoleOutput(LayoutWorker.java:41) at com.mathworks.toolbox.matlab.guide.LayoutLooper.readFigure(LayoutLooper.java:713) at com.mathworks.toolbox.matlab.guide.LayoutEditor.openLayoutEditor(LayoutEditor.java:2021) at com.mathworks.toolbox.matlab.guide.LayoutEditor.openLayoutEditor(LayoutEditor.java:1984) >>
What is the problem or how can I solve it?
I am using student version within: MATLAB Version 9.4 (R2018a) Simulink Version 9.1 (R2018a) Control System Toolbox Version 10.4 (R2018a) DSP System Toolbox Version 9.6 (R2018a) Image Processing Toolbox Version 10.2 (R2018a) Instrument Control Toolbox Version 3.13 (R2018a) Optimization Toolbox Version 8.1 (R2018a) Signal Processing Toolbox Version 8.0 (R2018a) Simulink Control Design Version 5.1 (R2018a) Statistics and Machine Learning Toolbox Version 11.3 (R2018a) Symbolic Math Toolbox Version 8.1 (R2018a)

Best Answer

This answer might solve your problem:
https://uk.mathworks.com/matlabcentral/answers/236604-java-update-and-guide-command#answer_191129
Related Question