Why do I receive Java error messages when using the SYSTEM command?
Afficher commentaires plus anciens
When I use the command:
str1 = 'C:\Progra~1\WinZip\Wzzip "C:\Documents and Settings\mchechelnitsky.000\Desktop\BRIEFCASES\AccessDatabases" "g:\avm\Input_Database\Operational_Database_Input.mdb"';
system (str1);
I receive the following error:
WinZip(R) Command Line Support Add-On Version 1.0 (Build 3181)
Copyright (c) WinZip Computing, Inc. 1991-2000 - All Rights Reserved
Searching... ... ..
Adding Operational_Database_Input.mdb................................
...............................
...............................
.............java.lang.IllegalArgumentException: bad position: 1572
at javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)
at
com.mathworks.mde.cmdwin.CmdWinEditorKit$CWReturnAction.actionPerformed(CmdWinEditorKit.java:955)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at
com.mathworks.mde.cmdwin.XCmdWndView.processKeyEvent(XCmdWndView.java:2662)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processE
The above Java error is probably because of a message that should be printed to the screen but fails.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Call Java from MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!