Why do I receive a Java error when I debug my function in MATLAB 7.0.1 (R14SP1)?

5 ビュー (過去 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
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 件)

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

製品


リリース

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by