Command "Guide" does not work anymore.

2 次查看(过去 30 天)
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)

采纳的回答

Krithika A
Krithika A 2018-7-25
This answer might solve your problem:
https://uk.mathworks.com/matlabcentral/answers/236604-java-update-and-guide-command#answer_191129

更多回答(0 个)

类别

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