Why do I receive a Java error when I debug my function in MATLAB 7.0.1 (R14SP1)?
조회 수: 7 (최근 30일)
이전 댓글 표시
I receive the following Java exception when I am debugging my program:
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.<init>(Unknown Source)
at com.mathworks.mlservices.MatlabDebugServices.createStackInfo(MatlabDebugServices.java:747)
at com.mathworks.mlservices.MatlabDebugServices$StackDispatch.completed(MatlabDebugServices.java:1669)
at com.mathworks.jmi.Matlab$CompletionHandler.messageReceived(Matlab.java:2095)
at com.mathworks.services.message.MWLooper.dispatchMessage(MWLooper.java:422)
at com.mathworks.services.message.MWLooper.runBridge(MWLooper.java:567)
at com.mathworks.services.message.MWLooper.run(MWLooper.java:536)
at java.lang.Thread.run(Unknown Source)
I have noticed that this occurs when the file I am debugging is in the directory:
C:\mydirectory\HW after solution\
I receive the same error, irrespective of the program I am debugging, as long as the file is in the above-mentioned directory.
채택된 답변
MathWorks Support Team
2009년 6월 27일
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0.1 (R14SP1) in the way that the debugger handles files in directories whose names contain certain strings.
To work around this issue, move your files to a directory whose path does not contain the following strings or characters:
“ at “
“ In “
“> In “
“ after “
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Install Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!