appliedtopology / javaplex

Persistent Homology and Topological Data Analysis Library
BSD 3-Clause "New" or "Revised" License
193 stars 57 forks source link

Update the `load_javaplex.m` file #12

Closed michiexile closed 7 years ago

michiexile commented 7 years ago

It seems like changes for Matlab2016a broke the way load_javaplex.m worked. We should update the file so it works out of the box.

One culprit seems to be clear import.

henryadams commented 7 years ago

I think the changes we need to make are as follows:

(1) In load_javaplex.m, comment out line 4 which says clear import;

(2) After running load_javaplex.m, type

import edu.stanford.math.plex4.*; into the Matlab command window.

(However, I haven't yet tested these myself)

Best, Henry

henryadams commented 7 years ago

I have added a new version of Javaplex, version 4.2.6, which should now easily support installation with Matlab 2016. The changes are as in (1) and (2) of my previous post of this thread. The tutorial instructions have been updated as well. I am marking this issue as closed, but please let me know if you have any trouble running Javaplex in newer versions of Matlab!