How to unload Java libraries in MATLAB R2024b?
Afficher commentaires plus anciens
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?
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!