How to unload Java libraries in MATLAB R2024b?
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!