How to clean the dynamic java path properly?
Show older comments
We are facing an issue when removing a directory from MATLAB path after adding jar-file paths to dynamic javapath:
* The task is to add several folders to MATLAB Path. These folders also contain .jar-files
* Regarding java, we add the full directory paths of .jar files to the dynamic java path
* Later these paths shall be removed again
* In addition, we remove the directory containing these files from MATLAB path again
* We want to delete the directory containing the jar files via rmdir()
However, the last step of rmdir() is not possible as the jar files are not removed properly from the path.
Is there any way to achieve the removal of jar files from path so the directory can be removed via rmdir?
Accepted Answer
More Answers (0)
Categories
Find more on File Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!