Best way to override MATLAB's default static javaclasspath

后端 未结 4 2039
南笙
南笙 2021-02-05 20:15

MATLAB is configured to search its static java class path before searching the user-modifiable dynamic path. Unfortunately, the static path contains quite a number of very old p

4条回答
  •  生来不讨喜
    2021-02-05 21:00

    One hack that appears to work is to add the jar to the top of the classpath.txt file that can be found in your MATLAB installations toolbox/local folder. Unfortunately, this is automatically generated and may get rewritten at some unspecified time, such as when you install new toolboxes, so this approach would require you to have some way to notice when this happens and reapply the hack.

提交回复
热议问题