简体   繁体   中英

Call java library in Matlab

I need to add a java class library to Matlab. If I add the path to the static java class path in Matlab, Matlab cannot access it. But if I use javaaddpath() from the command-line and add the java library to the dynamic java class path, then Matlab can access it. What is the possible reason for this issue?

Have you restarted Matlab? It only loads the content of the static path on starting. BTW. Use the dynamic path. Its a cleaner solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM