Why do I get the error message "??? Error Using==> javaObject" when I try to use Java objects that call native methods?
Mostrar comentarios más antiguos
I have a JAR file that includes a Java class that calls a native method. After making this class available to MATLAB by adding the full path and filename of the JAR file to classpath.txt, I get the following error message when I try to invoke the Java object constructor in MATLAB:
jo = javaObject('com.freddiemac.fir.finance.TermStructure')
??? Error using ==> javaObject
No class com.freddiemac.fir.finance.TermStructure can be located on Java
class path.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Deploy to Java Applications Using MWArray Data API en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!