altmany / export_fig

A MATLAB toolbox for exporting publication quality figures
BSD 3-Clause "New" or "Revised" License
1.27k stars 365 forks source link

export_fig('-update') does not replace old version #302

Closed solleo closed 4 years ago

solleo commented 4 years ago

export_fig('-update') in v3.0.5 (and earlier versions) creates a subdirectory export_fig-master in the path of the current version so that the current (old) version would not be replaced. I guess the zip file should be downloaded & extracted in a temporary directory first, and all files within the export_fig-master should be moved to the path of the current version?

altmany commented 4 years ago

This issue is expected to be fixed in the latest version (that I just uploaded). You will still need to download and install the new version in the old way, but after you install it then all the subsequent updates should be much easier, using the export_fig('-update') mechanism.