How to unload Java libraries in MATLAB R2024b?
Ältere Kommentare anzeigen
I have a custom Java library in MATLAB R2024b, more specifically a JAR file, that lives in Git. Anytime I switch Git branches, the JAR file changes, and I am unable to unload the original JAR even though the old path to the JAR does not exist.
I have tried to remove the path via the function "javarmpath" and have tried commands such as "clear all". These do not seem to address the issue, only restarting MATLAB seems to resolve it. How can I unload JAR files without having to restart MATLAB everytime?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call Java from MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!