How to unload Java libraries in MATLAB R2024b?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!