MATLAB Answers

hp
0

how to resolve the error ocurred in using "guide"?

Asked by hp
on 5 Nov 2018
Latest activity Answered by hp
on 9 Nov 2018
Hi, I am using matlab2013a on windows 10, and if iam trying to use "guide" to create GUI .. its showing an error as below: java.lang.ClassCastException: [D cannot be cast to [Ljava.lang.String;
at com.mathworks.toolbox.matlab.guide.LayoutEditor.completed(LayoutEditor.java:2218)
at com.mathworks.toolbox.matlab.guide.LayoutEditor$ReadFigureCompleted.completed(LayoutEditor.java:3049)
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:712)
at com.mathworks.toolbox.matlab.guide.LayoutEditor.openLayoutEditor(LayoutEditor.java:2015)
at com.mathworks.toolbox.matlab.guide.LayoutEditor.openLayoutEditor(LayoutEditor.java:1978) and I had searched in mathworks for answer.. there they have mentioned an m-file called startup.m file.. which i have searched by typing its name at the matlab promt I am getting file missing error:
>> which -all startup
'startup' not found.
please help how can I start "guide" in matlab 2013a version (on windows 2010) or how to create GUI for my code what software i should download?

  0 Comments

Sign in to comment.

2 Answers


Answer by hp
on 9 Nov 2018

Hi... actually I had refered the answer given in the link(https://uk.mathworks.com/matlabcentral/answers/236604-java-update-and-guide-command#answer_191129) and tried to use startup.m at the command prompt of matlab.. iam not getting how to resolve
I have 64-bit computer , windows-10, matlab version R2013a.. plz help to resolve the mentioned error

  0 Comments

Sign in to comment.