@@ -34,7 +34,7 @@ function plotlyupdate(varargin)
34
34
35
35
% remote Plotly API MATLAB Library url
36
36
remote = [' https://raw.githubusercontent.com/plotly/MATLAB-api/' ,...
37
- ' plotlyupdate /README.md' ];
37
+ ' master /README.md' ];
38
38
39
39
% remote Plotly API MATLAB Library
40
40
try
@@ -74,10 +74,10 @@ function plotlyupdate(varargin)
74
74
dircount = 1 ;
75
75
for d = 1 : length(plotlyScriptDirs )
76
76
% parse filepath string at the Plotly directory
77
- plotlyLoc = strfind(fileparts(plotlyScriptDirs{d }),fullfile(' MATLAB-api' ,' plotly' ));
77
+ plotlyLoc = strfind(fileparts(plotlyScriptDirs{d }),fullfile(' MATLAB-api-master ' ,' plotly' ));
78
78
plotlyToolboxLoc = strfind(fileparts(plotlyScriptDirs{d }),plotlyToolboxDir );
79
79
if ~isempty(plotlyLoc )
80
- plotlyDirs{dircount } = fullfile(plotlyScriptDirs{d }(1 : plotlyLoc - 1 ),' MATLAB-api' ,' plotly' );
80
+ plotlyDirs{dircount } = fullfile(plotlyScriptDirs{d }(1 : plotlyLoc - 1 ),' MATLAB-api-master ' ,' plotly' );
81
81
elseif ~isempty(plotlyToolboxLoc )
82
82
plotlyDirs{dircount } = plotlyToolboxDir ;
83
83
end
@@ -134,7 +134,7 @@ function plotlyupdate(varargin)
134
134
fprintf([' Downloading the Plotly API Matlab Library v.' pvRemote ' ... ' ]);
135
135
end
136
136
137
- newPlotlyUrl = ' https://github.com/plotly/MATLAB-api/archive/plotlyupdate .zip' ;
137
+ newPlotlyUrl = ' https://github.com/plotly/MATLAB-api/archive/master .zip' ;
138
138
newPlotlyZip = fullfile(plotlyUpdateDir ,[' plotlyupdate_' pvRemote ' .zip' ]);
139
139
140
140
% download from url
@@ -179,10 +179,10 @@ function plotlyupdate(varargin)
179
179
end
180
180
181
181
% new Plotly directory
182
- newPlotlyDir = fullfile(plotlyUpdateDir ,' MATLAB-api-plotlyupdate ' ,' plotly' );
182
+ newPlotlyDir = fullfile(plotlyUpdateDir ,' MATLAB-api-master ' ,' plotly' );
183
183
184
184
% files in Plotly repo root
185
- repoRoot = dir(fullfile(plotlyUpdateDir ,' MATLAB-api-plotlyupdate ' ));
185
+ repoRoot = dir(fullfile(plotlyUpdateDir ,' MATLAB-api-master ' ));
186
186
187
187
% files not to be included
188
188
repoExclude = {' .' ,' ..' ,' .gitignore' ,' plotly' };
@@ -191,7 +191,7 @@ function plotlyupdate(varargin)
191
191
d = 1 ;
192
192
for r = 1 : length(repoRoot );
193
193
if (isempty(intersect(repoRoot(r ).name,repoExclude )))
194
- auxFiles{d } = fullfile(plotlyUpdateDir ,' MATLAB-api-plotlyupdate ' ,repoRoot(r ).name);
194
+ auxFiles{d } = fullfile(plotlyUpdateDir ,' MATLAB-api-master ' ,repoRoot(r ).name);
195
195
d = d + 1 ;
196
196
end
197
197
end
0 commit comments