URL: http://github.com/plotly/plotly_matlab/commit/014287e3c9d685aa441bbde7b89055307fa9347a
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b047bae commit 014287eCopy full SHA for 014287e
1 file changed
plotly/plotly_setup_aux/plotlycleanup.m
@@ -5,10 +5,13 @@
5
% initialize output
6
removed = {};
7
8
-%----REMOVE FILES----%
+%----REMOVE AUX FILES----%
9
+REMOVEAUXFILES = {'testclean.m'};
10
+
11
+%----REMOVE WRAPPER FILES----%
12
REMOVEFILES = {'plotly.m', 'testclean.m'};
13
-%----REMOVE FOLDERS----%
14
+%----REMOVE WRAPPER FOLDERS----%
15
REMOVEFOLDERS = {'fig2plotly_aux'};
16
17
%----check for local Plotly instances----%
@@ -31,6 +34,15 @@
31
34
32
35
for d = 1:length(plotlyDirs)
33
36
37
+ % delete auxiliary files
38
+ removeauxfiles = fullfile(fileparts(plotlyDirs{d},REMOVEAUXFILES));
39
40
+ for f = 1:length(removeauxfiles)
41
+ if exists(removeauxfiles, 'file')
42
+ delete(removefiles{f});
43
+ end
44
45
46
% add plotlydirs to searchpath (will be removed in future once handled by plotlyupdate)
47
addpath(genpath(plotlyDirs{d}));
48
0 commit comments