Effacer les filtres
Effacer les filtres

Javaaddpath Matlab r2013a problem

5 vues (au cours des 30 derniers jours)
nedo nodo
nedo nodo le 13 Mai 2013
Hi all,
I have a problem with javaaddpath command. If I launch a script inside a GUI of Matlab it work well, otherwise if I launch from command line it does not work and I get the following error:
Undefined variable "com" or class
"com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager".
Error in javaclasspath>local_javapath (line 132)
jloader = com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager;
Error in javaclasspath (line 68)
p = local_javapath('-dynamic');
Error in javaaddpath (line 69)
javaclasspath( javaclasspath, p );
Error in script (line 6)
javaaddpath('path','-end')
I have searched on the web for answer without success. Thank you in advance
  2 commentaires
Hugh Roarty
Hugh Roarty le 26 Août 2015
I got the same error. Did you ever resolve this?
Hugh Roarty
Hugh Roarty le 26 Août 2015
Most likely you started MATLAB with the -nojvm option. Try it with the -nodesktop option instead.

Connectez-vous pour commenter.

Réponses (1)

Tristan McRae
Tristan McRae le 12 Déc 2018
The above comment "Most likely you started MATLAB with the -nojvm option. Try it with the -nodesktop option instead." by Hugh Roarty worked for me.

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by