필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
hp
hp 2018년 11월 5일
답변: hp 2018년 11월 9일
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?

답변 (2개)

madhan ravi
madhan ravi 2018년 11월 5일

hp
hp 2018년 11월 9일
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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by